---
title: "Deploy Teedy"
description: "Document management with OCR, tags, sharing and workflows, on Postgres"
category: "Other"
url: https://railway.com/deploy/teedy-1
---

# Deploy Teedy

Document management with OCR, tags, sharing and workflows, on Postgres

**[Deploy Teedy on Railway](https://railway.com/template/teedy-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/teedy-1/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### Teedy https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/teedy.png

- **Source:** https://github.com/aalfath/teedy-railway-template
- **Health check:** /api/app
- **Public domain:** Yes

## Documentation

# Deploy and Host Teedy on Railway

Teedy is an open-source, lightweight document management system for individuals and small teams. You upload scans, PDFs, images and office files, organise them with tags and metadata, find them with full-text search (with OCR for scans), share them, keep file versions and run approval workflows, all from a web UI or its REST API.

## About Hosting Teedy

This template runs two services. **Teedy** (Java and Jetty) is the web UI and API. It is built from our GitHub repo on top of the official `sismics/docs:v1.12` image, pinned by digest, and keeps its encrypted files and search index on a volume at `/data`. **Postgres** is Railway's PostgreSQL and holds users, documents, tags and settings on its own volume. The `admin` password is generated at deploy time, so there is no `admin`/`admin` login. Java's memory is sized from the service's real limits. OCR of scans needs about 1 GB of RAM, so below 900 MB it is switched off automatically and turns back on when you give the service more.

## Common Use Cases

* A searchable archive of invoices, contracts and receipts, with OCR for scanned paper
* Shared team documents with users, groups, permissions and an audit log
* Review and approval workflows for documents such as expense claims

## Dependencies for Teedy Hosting

* PostgreSQL (Railway's Postgres service, included)
* Two volumes: Teedy's files at `/data` and the Postgres data

### Deployment Dependencies

* Teedy source and docs: https://github.com/sismics/docs
* Teedy 1.12 release: https://github.com/sismics/docs/releases/tag/v1.12
* Official image: https://hub.docker.com/r/sismics/docs
* Template repo: https://github.com/aalfath/teedy-railway-template

### Implementation Details

**After deploy:** open the Teedy service's public URL and log in as `admin` with the `ADMIN_PASSWORD` value from the Teedy service's Variables tab. Then set your e-mail under Settings → User account and create users, groups and tags. Changing `ADMIN_PASSWORD` later doesn't change the password: change it in the app.

**Plans and RAM:** the stack uses two volumes, so it needs the Trial, Hobby or Pro plan (the Free plan allows one volume per project). Teedy runs in 0.5 GB without OCR. For OCR of scanned PDFs and images, give the Teedy service 1 GB of memory and redeploy; OCR then switches back on by itself.

**Optional settings** (add to the Teedy service): `DOCS_SMTP_HOSTNAME`, `DOCS_SMTP_PORT`, `DOCS_SMTP_USERNAME` and `DOCS_SMTP_PASSWORD` for password-reset and workflow e-mails, and `DOCS_BASE_URL` if you use a custom domain.

**Updates:** the Teedy service builds from our GitHub repo. When we test a new Teedy release, we bump the pinned image there and Railway shows you an "update available" notice. You choose when to apply it, and Teedy migrates its database on start. Read the repo's CHANGELOG first.

## Why Deploy Teedy on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Teedy on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Wiki-Go](https://railway.com/deploy/wiki-go) — Flat-file Markdown wiki in Go: no database, generated admin login

Open this page in a browser: https://railway.com/deploy/teedy-1
