Deploy paperless-ngx-postgres-redis
Paperless-ngx with Postgres, Redis, OCR helpers, and media volume.
paperless
Just deployed
/usr/src/paperless/media
redis
Just deployed
/data
gotenberg
Just deployed
postgres
Just deployed
/var/lib/postgresql/data
Just deployed
Deploy and Host Paperless-ngx + Postgres/Redis on Railway
Deploy Paperless-ngx on Railway with Postgres, Redis, Tika, Gotenberg, generated admin credentials, and persistent document storage.
About Hosting Paperless-ngx + Postgres/Redis
Paperless-ngx is a document management system for scanning, organizing, OCRing, and searching personal or team documents. This template follows the official Docker Compose shape with Postgres, Redis, and optional Office/email document support through Tika and Gotenberg.
Why Deploy Paperless-ngx + Postgres/Redis on Railway
Railway provides a complete multi-service setup with private networking, generated secrets, persistent volumes, and a public Paperless URL. The template keeps the supporting services private and stores Paperless media on a Railway volume while Postgres stores document metadata.
Common Use Cases
- Personal document archive
- Small-team searchable document inbox
- OCR-backed PDF and image storage
- Office document ingestion with Tika/Gotenberg
- Evaluation environment for Paperless-ngx
Dependencies for Paperless-ngx + Postgres/Redis Hosting
Paperless depends on Postgres for metadata, Redis for scheduled/background tasks, and filesystem storage for documents. Tika and Gotenberg are included for Office and email document parsing/conversion.
Deployment Dependencies
PAPERLESS_SECRET_KEY: long random Paperless secretPAPERLESS_ADMIN_USER: initial admin usernamePAPERLESS_ADMIN_PASSWORD: initial admin passwordPOSTGRES_PASSWORD: generated database passwordPORT: Railway public routing port for Paperless
Template Content
PORT
USERMAP_GID
USERMAP_UID
GRANIAN_HOST
GRANIAN_PORT
PAPERLESS_PORT
PAPERLESS_REDIS
PAPERLESS_DBHOST
PAPERLESS_DBNAME
PAPERLESS_DBPASS
PAPERLESS_DBPORT
PAPERLESS_DBUSER
PAPERLESS_DBENGINE
PAPERLESS_TIME_ZONE
PAPERLESS_ADMIN_MAIL
PAPERLESS_ADMIN_USER
PAPERLESS_SECRET_KEY
PAPERLESS_OCR_LANGUAGE
PAPERLESS_TIKA_ENABLED
PAPERLESS_ALLOWED_HOSTS
PAPERLESS_TIKA_ENDPOINT
PAPERLESS_ADMIN_PASSWORD
PAPERLESS_CSRF_TRUSTED_ORIGINS
PAPERLESS_TIKA_GOTENBERG_ENDPOINT
redis
redis:8-alpineRAILWAY_RUN_UID
gotenberg
gotenberg/gotenberg:8.25postgres
postgres:17-alpinePGDATA
POSTGRES_DB
POSTGRES_USER
POSTGRES_PASSWORD