
Deploy Docmost on Your Own Server
Docmost is an open-source collaborative wiki and documentation software.
Want to deploy Docmost on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Docmost?
Docmost is an open-source collaborative wiki and documentation software.
Self-Host Docmost
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
docmost:
image: docmost/docmost:0.3.1
environment:
APP_SECRET: f358e92033b2cd789e73f00d0c5ad280
APP_URL: http://docmost.your-domain.com
AWS_S3_ACCESS_KEY_ID: ""
AWS_S3_BUCKET: ""
AWS_S3_ENDPOINT: ""
AWS_S3_REGION: ""
AWS_S3_SECRET_ACCESS_KEY: ""
DATABASE_URL: postgresql://docmost:0c259f849e2edd6b9501700c401d950d@docmost-db:5432/docmost?schema=public
JWT_TOKEN_EXPIRES_IN: 30d
MAIL_DRIVER: smtp
MAIL_FROM_ADDRESS: ""
MAIL_FROM_NAME: ""
PORT: "3000"
POSTMARK_TOKEN: ""
REDIS_URL: redis://docmost-redis:6379
SMTP_HOST: ""
SMTP_PASSWORD: ""
SMTP_PORT: ""
SMTP_SECURE: ""
SMTP_USERNAME: ""
STORAGE_DRIVER: local
volumes:
- docmost-data:/app/data/storage
depends_on:
- docmost-db
- docmost-redis
docmost-db:
image: postgres:16-alpine
environment:
POSTGRES_DB: docmost
POSTGRES_PASSWORD: 0c259f849e2edd6b9501700c401d950d
POSTGRES_USER: docmost
volumes:
- docmost-db-data:/var/lib/postgresql/data
docmost-redis:
image: redis:7.2-alpine
volumes:
- docmost-redis-data:/data
volumes:
docmost-data: {}
docmost-db-data: {}
docmost-redis-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:3000
Why Self-Host Docmost?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
docmost/docmost:${docmost_version}Official Docs
docmost.comWant to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"