Deploy Docmost | Production Team Wiki
Collaborative wiki & knowledge base with PostgreSQL & Redis.
Just deployed
/var/lib/postgresql/data
Redis
Just deployed
/data
docmost
Just deployed
/app/data/storage
Deploy and Host Docmost on Railway
Docmost is an open-source, collaborative wiki and documentation software designed for real-time knowledge sharing, team notes, and company wikis (an open-source alternative to Notion, Confluence, and Outline).
This template deploys the production-ready Docmost stack on Railway with zero manual configuration: PostgreSQL and Redis are managed via native plugins, application secrets are dynamically generated at deploy time, and persistent storage is isolated on a dedicated volume.
About Hosting Docmost
This template provisions a complete 3-tier production architecture:
- Docmost Server: The core application running the collaborative real-time editor with nested page hierarchies, markdown support, and permissions.
- Managed PostgreSQL: Production-ready database with automated connection pooling and persistent schema storage.
- Managed Redis: High-performance in-memory cache and pub/sub backend powering real-time multi-user document collaboration.
- Persistent Volume: Attached at
/app/data/storageto ensure all user uploads, attachments, and media survive redeployments. - Dynamic Security: The required
APP_SECRETis securely generated per-deployment using platform entropy generators, and SSL is automatically terminated at the edge.
Why Deploy Docmost on Railway?
Railway is an ideal cloud platform to deploy full-stack collaborative applications without DevOps complexity:
- One-Click Zero-Ops Deployment: No need to configure reverse proxies, SSL certificates, or manual database migration scripts.
- Automatic SSL & Custom Domains: Out-of-the-box HTTPS on Railway public domains with support for your own custom corporate domains.
- Isolated Persistence: File uploads and attachments reside safely on dedicated persistent storage.
- Vertical & Horizontal Scalability: Effortlessly scale memory and vCPU as your team documentation library grows.
Common Use Cases
- Company Wiki & Knowledge Base: Centralize internal engineering documentation, SOPs, and employee handbooks.
- Real-Time Team Notes: Collaborate synchronously during meetings with rich text, tables, and nested spaces.
- Open-Source Notion/Confluence Alternative: Self-host your documentation to maintain complete ownership and sovereignty of your team's data.
Dependencies for Docmost Hosting
- PostgreSQL Database: Managed relational storage (automatically provisioned by this template).
- Redis Cache: In-memory caching and real-time collaboration layer (automatically provisioned by this template).
- Persistent Storage: A persistent volume mounted at
/app/data/storage(included in this template).
Verified and maintained by VerifiedStacks.
Template Content
PGDATA
PGPORT
POSTGRES_DB
POSTGRES_USER
SSL_CERT_DAYS
RAILWAY_DEPLOYMENT_DRAINING_SECONDS
Redis
redis:8.2REDISPORT
REDISUSER
docmost
docmost/docmost:latestPORT