selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

docmost logo

Self-host docmost

v0.97.0

Open-source collaborative wiki with real-time editing

BetaOpen CoreAGPL-3.0
Updated2 weeks ago
LanguageTypescript
Setup difficultyModerate
ThemeDark mode
Stars
22 293
Port
3000 (HTTP application server)
Requires
PostgreSQL, Redis
Docker
docmost/docmost
Install with Docker Compose
Docmost home page showing workspace overviewDocmost collaborative editor with rich text formattingDocmost wiki editor in high definitionDocmost Bases table view for structured dataDocmost Kanban board viewReal-time collaboration with live cursorsAI Assistant interfaceAI Chat with source citationsAI-powered semantic searchMCP (Model Context Protocol) integration

What is docmost?

A collaborative wiki and documentation platform for teams to create, organize, and share knowledge. It features a real-time editor with live cursors, built-in diagramming tools (Draw.io, Excalidraw, Mermaid), spaces with granular permissions, page history, comments, and file attachments. The platform supports AI-powered chat and search using self-hosted or cloud LLMs (Ollama, OpenAI, Gemini, Azure OpenAI), and exposes knowledge via Model Context Protocol (MCP). Enterprise editions add SSO (SAML/OIDC/LDAP), SCIM provisioning, audit logs, page verification workflows, and advanced permissions. It runs via Docker Compose with PostgreSQL and Redis, supports S3-compatible and Azure Blob storage, and can operate in air-gapped environments. The core is AGPL-3.0 licensed with paid Business and Enterprise editions for additional features.

Should you self-host docmost?

docmost scores 76/100 on selfhost.directory (how scoring works) and ranks #3 of 31 in Wikis. It has 22 293 GitHub stars, +406 in the last 30 days.

It shipped 13 stable releases in the past year. The latest, v0.97.0, came out on 25 October 2026. New versions land roughly every 2 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Memos (85/100, 64 385 stars). It scores higher overall, so compare the two before you pick. See docmost vs Memos side by side.

Features

  • AI ChatRequires Business or Enterprise license
  • AI SearchRequires Business or Enterprise license and PostgreSQL with pgvector
  • Comments
  • Diagrams (Draw.io, Excalidraw, Mermaid)
  • Embeds
  • File attachments
  • Groups
  • MCP (Model Context Protocol)Requires Business or Enterprise license
  • Page history
  • Permissions management
  • RBAC (Role-Based Access Control)Page-level granular permissions require Business or Enterprise license
  • Real-Time Collaboration
  • Search
  • Spaces
  • Translations

docmost README

How to install docmost

Install docmost with Docker Compose

Docker and Docker Compose installed
Environment variables
APP_URL, APP_SECRET, DATABASE_URL, REDIS_URL, PORT, JWT_TOKEN_EXPIRES_IN, STORAGE_DRIVER, MAIL_DRIVER, SMTP_*, AI_DRIVER, OPENAI_API_KEY, GEMINI_API_KEY, OLLAMA_API_URL, SEARCH_DRIVER, TYPESENSE_URL, TYPESENSE_API_KEY, DRAWIO_URL, IFRAME_EMBED_ALLOWED, DISABLE_TELEMETRY

services: docmost: image: docmost/docmost:latest depends_on: - db - redis environment: APP_URL: 'http://localhost:3000' APP_SECRET: 'REPLACE_WITH_LONG_SECRET' DATABASE_URL: 'postgresql://docmost:STRONG_DB_PASSWORD@db:5432/docmost' REDIS_URL: 'redis://redis:6379' ports: - "3000:3000" restart: unless-stopped volumes: - docmost:/app/data/storage

db: image: postgres:18 environment: POSTGRES_DB: docmost POSTGRES_USER: docmost POSTGRES_PASSWORD: STRONG_DB_PASSWORD restart: unless-stopped volumes: - db_data:/var/lib/postgresql

redis: image: redis:8 command: ["redis-server", "--appendonly", "yes", "--maxmemory-policy", "noeviction"] restart: unless-stopped volumes: - redis_data:/data

volumes: docmost: db_data: redis_data:

Replace APP_URL with your domain, APP_SECRET with a 32+ character secret, and STRONG_DB_PASSWORD with a secure password. Run 'docker compose up -d' to start.

How to configure docmost

  • APP_URLThe base URL of your application. It is optional, but useful for correct email links.

    values: https://docmost.example.com

  • APP_SECRETA secure key for application security (32 chars minimum). Generate with openssl rand -hex 32.

    values: LONG_SECRET_KEY

  • PORT3000The port on which the application will run.

    values: 3000

  • JWT_TOKEN_EXPIRES_IN30dThe expiration time for JSON Web Tokens (JWT). The default is 30 days.

    values: 30d

  • DATABASE_URLThe connection URL for your PostgreSQL database.

    values: postgresql://postgres:password@localhost:5432/docmost?schema=public

docmost releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Do you have an enterprise version?

Yes, Business and Enterprise trial license keys are available at https://customers.docmost.com.

What license does Docmost use?

Docmost core is licensed under the open-source AGPL 3.0 license. Commercial features are available under Business or Enterprise licenses.

Do you have a cloud version if I don't want to host it myself?

Yes, a cloud version is available at https://app.docmost.com.

More in Wikis

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…