---
title: "Deploy Docmost | Production Team Wiki"
description: "Collaborative wiki & knowledge base with PostgreSQL & Redis."
category: "CMS"
url: https://railway.com/deploy/docmost-or-production-team-wiki
---

# Deploy Docmost | Production Team Wiki

Collaborative wiki & knowledge base with PostgreSQL & Redis.

**[Deploy Docmost | Production Team Wiki on Railway](https://railway.com/template/docmost-or-production-team-wiki)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/docmost-or-production-team-wiki/manifest.json

- **Creator:** VerifiedStacks's Projects
- **Category:** CMS

## Template content

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

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

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### docmost

- **Image:** docmost/docmost:latest
- **Public domain:** Yes

## Documentation

# 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/storage` to ensure all user uploads, attachments, and media survive redeployments.
- **Dynamic Security:** The required `APP_SECRET` is 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**.*


## Similar templates

- [Libredesk - Complete Setup](https://railway.com/deploy/libredesk-complete-setup) — Complete self-hosted omnichannel customer support desk.
- [Paperless-ngx](https://railway.com/deploy/paperless-ngx-3) — Paperless-ngx — document management with OCR and full-text search
- [Instatic CMS - Postgres](https://railway.com/deploy/instatic-cms-postgres) — Design, build and manage powerful static sites from state-of-the-art CMS

Open this page in a browser: https://railway.com/deploy/docmost-or-production-team-wiki
