ScriptsApr 10, 2026·3 min read

Docmost — Open Source Collaborative Wiki & Documentation

Docmost is an open-source Confluence and Notion alternative for team wikis and documentation, featuring real-time collaboration, rich editor, and permission management.

TL;DR
Docmost provides self-hosted team wikis with real-time collaboration and rich editing.
§01

What it is

Docmost is an open-source collaborative wiki and documentation platform. It serves as a self-hosted alternative to Confluence and Notion, providing real-time collaboration, a rich block-based editor, permission management, and organized workspaces for team knowledge. Teams write, share, and maintain documentation without relying on SaaS platforms.

Docmost targets organizations that want team documentation under their own control. It provides the collaborative editing experience of modern doc tools with the data ownership of self-hosting.

§02

Why it saves time or tokens

Team knowledge scattered across Slack messages, Google Docs, and personal notes is impossible to search effectively. Docmost centralizes documentation in a structured, searchable format. For AI-assisted development, having documentation in a self-hosted system with an API means AI agents can read and update docs programmatically, keeping documentation in sync with code changes.

§03

How to use

  1. Deploy Docmost with Docker Compose using the official configuration
  2. Create a workspace and invite team members
  3. Start writing documentation with the rich block editor
§04

Example

# docker-compose.yml
version: '3'
services:
  docmost:
    image: docmost/docmost:latest
    ports:
      - '3000:3000'
    environment:
      DATABASE_URL: postgres://docmost:password@postgres:5432/docmost
      REDIS_URL: redis://redis:6379
      APP_SECRET: your-secret-key
    depends_on:
      - postgres
      - redis
  postgres:
    image: postgres:16
    environment:
      POSTGRES_DB: docmost
      POSTGRES_USER: docmost
      POSTGRES_PASSWORD: password
  redis:
    image: redis:7
FeatureDescription
Real-time collabMultiple editors simultaneously
Block editorHeadings, code, tables, embeds
PermissionsPage and space-level access control
SearchFull-text search across all docs
WorkspacesOrganize docs by team or project
§05

Related on TokRepo

§06

Common pitfalls

  • Docmost requires PostgreSQL and Redis; ensure proper backup procedures for the database as it contains all documentation
  • Real-time collaboration needs WebSocket support; reverse proxy configurations must enable WebSocket passthrough
  • Migrating from Confluence or Notion requires export/import work; there is no automated one-click migration tool

Frequently Asked Questions

How does Docmost compare to Notion?+

Docmost provides a similar block editor and workspace organization as Notion but is fully self-hosted and open source. Notion is a SaaS product with more advanced features like databases, automations, and integrations. Choose Docmost for data ownership and self-hosting; Notion for the richest feature set.

Does Docmost support real-time collaboration?+

Yes. Multiple users can edit the same document simultaneously with real-time cursor tracking and conflict resolution. Changes appear instantly for all editors. This is powered by WebSocket connections and a CRDT-based collaboration engine.

Can I import documents from Confluence?+

Docmost supports importing content from various formats. For Confluence, you would export pages as HTML or Markdown and import them into Docmost. The process is manual for now; check the documentation for the latest import capabilities and supported formats.

What is the block editor?+

The block editor lets you compose documents from different content blocks: headings, paragraphs, code blocks, tables, images, embeds, and more. Each block is independently editable and reorderable. This is the same editing paradigm used by Notion and modern documentation tools.

Does Docmost support permissions?+

Yes. Docmost provides workspace-level and page-level permissions. You can control who can view, edit, and manage each space and page. Role-based access control lets you define admin, editor, and viewer roles for different team members.

Citations (3)
🙏

Source & Thanks

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets