Docmost is a self-hosted document management system for storing, organizing and collaborating on files. It provides structured access to folders, user permissions and version control. Designed with team collaboration in mind, it offers tagging, search functionality and document previews. It’s useful for small organizations or individuals needing a lightweight DMS alternative. With a clean UI, it simplifies digital file management without relying on third-party cloud storage.

Setup

docker-compose.yaml

version: "3"

networks:
  docker_net:
    external: true

volumes:
  docmost:
  db_data:
  redis_data:

services:
  docmost:
    image: docmost/docmost:latest
    container_name: docmost
    restart: unless-stopped
    depends_on:
      - db
      - redis
    environment:
      APP_URL: $APP_URL
      APP_SECRET: $APP_SECRET
      DATABASE_URL: postgresql://docmost:$DB_PASSWORD@db:5432/docmost?schema=public
      REDIS_URL: "redis://redis:6379"
    ports:
      - 3005:3000
    volumes:
      - docmost:/app/data/storage
    networks:
      - docker_net

  db:
    image: postgres:16-alpine
    container_name: db
    restart: unless-stopped
    environment:
      POSTGRES_DB: docmost
      POSTGRES_USER: docmost
      POSTGRES_PASSWORD: $DB_PASSWORD
    volumes:
      - db_data:/var/lib/postgresql/data
    networks:
      - docker_net

  redis:
    image: redis:7.2-alpine
    container_name: redis
    restart: unless-stopped
    volumes:
      - redis_data:/data
    networks:
      - docker_net

Sources