What Docmost Does
Docmost provides enterprise-grade documentation features:
- Real-time Collaboration: Multiple users can edit the same page simultaneously with live cursors and presence indicators
- Rich Editor: Block-based editor with Markdown shortcuts, tables, code blocks, callouts, and embeds
- Nested Pages: Infinite page nesting with drag-and-drop reordering in the sidebar
- Spaces: Organize documentation into separate spaces (Engineering, Product, HR, etc.) with independent permissions
- Permissions: Role-based access control at workspace, space, and page levels
- Comments & Mentions: Inline comments on any page content with @mention notifications
- Search: Full-text search across all pages with instant results
- Page History: Version history with diff view and restore capability
Architecture
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ React │────▶│ NestJS │────▶│ PostgreSQL │
│ Frontend │ │ API Server │ │ (Prisma) │
└──────────────┘ └──────┬───────┘ └──────────────┘
│
┌──────┴───────┐
│ Redis │
│ (Sessions & │
│ Realtime) │
└──────────────┘Self-Hosting
Docker Compose (Recommended)
services:
docmost:
image: docmost/docmost:latest
ports:
- "3000:3000"
environment:
APP_URL: http://localhost:3000
APP_SECRET: your-random-secret-key
DATABASE_URL: postgresql://docmost:docmost@db:5432/docmost
REDIS_URL: redis://redis:6379
depends_on:
- db
- redis
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: docmost
POSTGRES_PASSWORD: docmost
POSTGRES_DB: docmost
volumes:
- pg-data:/var/lib/postgresql/data
redis:
image: redis:7-alpine
volumes:
- redis-data:/data
volumes:
pg-data:
redis-data:Key Features
Block-Based Editor
The editor supports a wide range of content blocks:
- Text: Headings (H1-H6), paragraphs, quotes, callouts
- Lists: Bullet, numbered, toggle, task lists
- Media: Images, videos, file attachments with drag-and-drop upload
- Code: Syntax-highlighted code blocks with 100+ language support
- Tables: Full-featured tables with column resize and sorting
- Embeds: YouTube, Loom, Figma, Miro, and custom iframe embeds
- Math: LaTeX math equations (inline and block)
- Diagrams: Mermaid and Draw.io diagrams rendered inline
Space Organization
Workspace
├── Engineering Space
│ ├── Architecture
│ │ ├── System Overview
│ │ └── API Design
│ ├── Runbooks
│ └── Onboarding
├── Product Space
│ ├── PRDs
│ └── Research
└── Company Space
├── Policies
└── HandbookImport & Export
- Import from Confluence (XML export)
- Import from Notion (HTML/Markdown export)
- Export pages as Markdown or PDF
- Bulk export entire spaces
Docmost vs Alternatives
| Feature | Docmost | Confluence | Notion | Outline |
|---|---|---|---|---|
| Open Source | Yes (AGPL-3.0) | No | No | Yes (BSL) |
| Self-hosted | Yes | Data Center | No | Yes |
| Real-time collab | Yes | Yes | Yes | Yes |
| Nested pages | Yes | Yes | Yes | Yes |
| Spaces | Yes | Yes | Teamspaces | Collections |
| Pricing | Free (self-host) | Per user | Per user | Free (self-host) |
| Import from Confluence | Yes | N/A | Limited | Yes |
FAQ
Q: What team sizes is Docmost suitable for? A: From small teams to organizations with hundreds of people. The PostgreSQL backend ensures good scalability. If you have 100+ concurrent editors, consider increasing Redis and application-tier resources.
Q: Can I migrate from Confluence? A: Yes. Docmost supports importing XML files exported from Confluence, including page hierarchy, attachments, and basic formatting. Complex Confluence macros may require manual adjustment.
Q: SSO/LDAP support? A: Supports SAML SSO and Google OAuth login. LDAP support is on the roadmap.