Docmost 是一款开源的 团队协作 Wiki 与文档管理工具,定位为 Confluence 和 Notion 的开源替代品,专注于提供高效、安全且可定制的知识库解决方案。
Compose 文件配置
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
| services: docmost: image: docmost/docmost:latest container_name: docmost restart: unless-stopped environment: - APP_URL=http://localhost:3000 - APP_SECRET=6426a899-9c09-4b4f-a503-2fb54de52685 - DATABASE_URL=postgresql://docmost:qwer1234@postgres:5432/docmost?schema=public - REDIS_URL=redis://redis:6379 ports: - 3000:3000 network_mode: bridge volumes: - docmost:/app/data/storage depends_on: - postgres - redis
postgres: image: postgres:16-alpine container_name: postgres restart: unless-stopped environment: - TZ=Asia/Shanghai - POSTGRES_HOST_AUTH_METHOD=trust - POSTGRES_PORT=5432 - POSTGRES_USER=docmost - POSTGRES_PASSWORD=qwer1234 - POSTGRES_DB=docmost network_mode: bridge volumes: - postgres:/var/lib/postgresql/data
redis: image: redis:7.2-alpine container_name: redis restart: unless-stopped environment: - TZ=Asia/Shanghai network_mode: bridge volumes: - redis:/data
volumes: docmost: postgres: redis:
|
请根据需要修改 Postgres 的密码:qwer1234
启动容器
1 2 3 4 5
| docker-compose up -d
docker-compose logs -f
|
访问地址
创建工作空间

偏好设置 - 语言
