Docmost VPS Guide (2026): Setup, Requirements & Best Providers
Docmost is one of the best open-source alternatives to Notion and Confluence for teams who want full control over their documentation. Running it on a VPS with Docker Compose is straightforward โ and this guide walks you through everything: what Docmost is, why self-hosting beats SaaS, which VPS to pick, and how to get it running.
What Is Docmost?
Docmost is an open-source, self-hosted collaborative documentation and wiki platform. It was built as a modern replacement for heavy enterprise tools like Confluence and closed-source tools like Notion.
Key features:
- Real-time collaboration โ multiple users edit simultaneously with live cursors
- Block-based editor โ rich text, tables, code blocks, embeds, callouts
- Spaces and nested pages โ hierarchical document organization, like Notion
- Granular permissions โ control access at workspace, space, or page level
- Self-hosted โ your data never leaves your server
- Docker Compose deployment โ spins up in minutes with PostgreSQL and Redis
Docmost is actively developed and available at github.com/docmost/docmost.
Why Self-Host Docmost on a VPS?
- Privacy: Team docs, internal wikis, and sensitive knowledge bases stay on your infrastructure
- Cost: A $5/mo VPS is cheaper than per-seat SaaS pricing for teams
- Control: Custom domains, LDAP/SSO integration, no vendor lock-in
- Performance: Co-locate your VPS with your teamโs geography for low latency
VPS Requirements for Docmost
| Tier | vCPU | RAM | Storage | Suitable For |
|---|---|---|---|---|
| Minimum | 1 | 1GB | 10GB | Personal use, 1โ2 users |
| Recommended | 2 | 2GB | 20GB NVMe | Small teams (up to 10) |
| Comfortable | 2+ | 4GB | 40GB+ NVMe | Teams 10โ50 users |
Docmost runs three containers: the app itself, PostgreSQL 16, and Redis 7. Redis is lightweight; Postgres is the heaviest consumer under load.
VPS Provider Comparison
| Provider | Price | RAM | Storage | Best For |
|---|---|---|---|---|
| Hetzner Cloud | โฌ4.15/mo | 4GB | 40GB NVMe | Best EU value |
| Contabo VPS | โฌ5.99/mo | 8GB | 200GB NVMe | Storage-heavy or growing teams |
| Linode (Akamai) | $5/mo | 1GB | 25GB SSD | Budget, light use |
| Vultr | $6/mo | 1GB | 25GB SSD | Global regions |
| DigitalOcean | $6/mo | 1GB | 25GB SSD | Beginner-friendly |
Recommendation: Hetzner Cloud at โฌ4.15/mo is the best balance of price and performance for most Docmost deployments. Contabo is unbeatable if you need storage.
Docker Compose Setup
Here is a production-ready docker-compose.yml for Docmost:
version: '3'
services:
docmost:
image: docmost/docmost:latest
ports:
- "3000:3000"
environment:
DATABASE_URL: postgresql://docmost:password@db:5432/docmost
REDIS_URL: redis://redis:6379
depends_on:
- db
- redis
db:
image: postgres:16
environment:
POSTGRES_USER: docmost
POSTGRES_PASSWORD: password
POSTGRES_DB: docmost
volumes:
- pg_data:/var/lib/postgresql/data
redis:
image: redis:7
volumes:
- redis_data:/data
volumes:
pg_data:
redis_data:
Save this as docker-compose.yml, then run:
docker compose up -d
Docmost will be available at http://your-server-ip:3000. Use an Nginx reverse proxy to add a domain and SSL.
Nginx Reverse Proxy (with SSL)
server {
listen 80;
server_name docs.yourdomain.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name docs.yourdomain.com;
ssl_certificate /etc/letsencrypt/live/docs.yourdomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/docs.yourdomain.com/privkey.pem;
location / {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
Run certbot --nginx -d docs.yourdomain.com to provision a free Letโs Encrypt certificate.
First Steps After Setup
- Navigate to
https://docs.yourdomain.comand complete the setup wizard - Create your first workspace and invite team members
- Set up spaces per project or department
- Configure permissions for each space
Which Provider Should You Choose?
- EU teams on a budget: Hetzner Cloud โ 4GB RAM, โฌ4.15/mo
- Maximum storage: Contabo โ 200GB NVMe, โฌ5.99/mo
- Global reach: Vultr โ 32 datacenters worldwide
- Easiest onboarding: DigitalOcean โ best docs and UI
For a full breakdown of all top VPS providers, visit selfhostvps.com/en/best/.