Aisle Organisation

Docmost

Collaborative pages and wikis, like Notion.

Add to my serverdocker-compose generator (French)Compare alternatives (French)Official documentation

What is it for?

Docmost lets several people write nicely formatted pages together, in real time, organised in spaces: documentation, meeting notes, knowledge base. The editor feels like Notion.

Who is it for?

Teams and clubs who want a self-hosted Notion.

After installing

  1. Open the site address and create your workspace and the administrator account.

The docker-compose

Example behind Traefik. To adapt it (Nginx Proxy Manager, local port…) with a line-by-line explanation, use the generator (in French).

# docker-compose.yml : Docmost
services:
  docmost:
    image: docmost/docmost:latest
    container_name: docmost
    restart: unless-stopped
    depends_on:
      - db
      - redis
    environment:
      APP_URL: https://pages.mydomain.com
      APP_SECRET: "${APP_SECRET}"
      DATABASE_URL: "postgresql://docmost:${DB_PASSWORD}@db:5432/docmost"
      REDIS_URL: redis://redis:6379
      TZ: Europe/Paris
    volumes:
      - ./storage:/app/data/storage
    networks:
      - traefik
      - default
    labels:
      - traefik.enable=true
      - traefik.http.routers.docmost.rule=Host(`pages.mydomain.com`)
      - traefik.http.routers.docmost.entrypoints=websecure
      - traefik.http.routers.docmost.tls.certresolver=letsencrypt
      - traefik.http.services.docmost.loadbalancer.server.port=3000
      - traefik.docker.network=traefik

  db:
    image: postgres:18
    container_name: docmost-db
    restart: unless-stopped
    environment:
      POSTGRES_DB: docmost
      POSTGRES_USER: docmost
      POSTGRES_PASSWORD: "${DB_PASSWORD}"
    volumes:
      - ./db:/var/lib/postgresql

  redis:
    image: redis:8
    container_name: docmost-redis
    command: redis-server --appendonly yes --maxmemory-policy noeviction
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    volumes:
      - ./redis:/data

networks:
  traefik:
    external: true