mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-27 14:01:15 +00:00
add docmost
This commit is contained in:
parent
9ea67bde1d
commit
73c4cbcf52
|
@ -385,6 +385,7 @@ A [wiki](https://en.wikipedia.org/wiki/Wiki) is a publication collaboratively ed
|
||||||
- [Obsidian-Gitsync-Perlite](https://github.com/l4rm4nd/Obsidian-Gitsync-Perlite) - Continuously sync Obsidian markdown notes from GitHub and publish it for the webs.
|
- [Obsidian-Gitsync-Perlite](https://github.com/l4rm4nd/Obsidian-Gitsync-Perlite) - Continuously sync Obsidian markdown notes from GitHub and publish it for the webs.
|
||||||
- [Memos](examples/memos) - An open-source, self-hosted memo hub with knowledge management and social networking.
|
- [Memos](examples/memos) - An open-source, self-hosted memo hub with knowledge management and social networking.
|
||||||
- [HedgeDoc](examples/hedgedoc) - HedgeDoc lets you create real-time collaborative markdown notes.
|
- [HedgeDoc](examples/hedgedoc) - HedgeDoc lets you create real-time collaborative markdown notes.
|
||||||
|
- [Docmost](examples/docmost) - Docmost is an open source collaborative documentation and wiki software. It is an open-source alternative to the likes of Confluence and Notion.
|
||||||
|
|
||||||
### Money, Budgeting & Management
|
### Money, Budgeting & Management
|
||||||
|
|
||||||
|
|
7
examples/docmost/README.md
Normal file
7
examples/docmost/README.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# References
|
||||||
|
|
||||||
|
- https://github.com/docmost/docmost
|
||||||
|
|
||||||
|
# Notes
|
||||||
|
|
||||||
|
Ensure to adjust the `APP_URL` environment variable to your domain name with correct protocol (http or https) if you use a reverse proxy.
|
57
examples/docmost/docker-compose.yml
Normal file
57
examples/docmost/docker-compose.yml
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
docmost:
|
||||||
|
image: docmost/docmost:latest
|
||||||
|
container_name: docmost
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
- redis
|
||||||
|
environment:
|
||||||
|
- APP_URL=http://127.0.0.1:3000
|
||||||
|
- APP_SECRET=A_VERY_SECURE_STRING
|
||||||
|
- DATABASE_URL=postgresql://docmost:STRONG_DB_PASSWORD@db:5432/docmost?schema=public
|
||||||
|
- REDIS_URL=redis://redis:6379
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
expose:
|
||||||
|
- 3000
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docmost/storage:/app/data/storage
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
#labels:
|
||||||
|
# - traefik.enable=true
|
||||||
|
# - traefik.docker.network=proxy
|
||||||
|
# - traefik.http.routers.docmost.rule=Host(`wiki.example.com`)
|
||||||
|
# - traefik.http.services.docmost.loadbalancer.server.port=3000
|
||||||
|
# # Optional part for traefik middlewares
|
||||||
|
# - traefik.http.routers.docmost.middlewares=local-ipwhitelist@file
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:16-alpine
|
||||||
|
container_name: docmost-db
|
||||||
|
environment:
|
||||||
|
- POSTGRES_DB=docmost
|
||||||
|
- POSTGRES_USER=docmost
|
||||||
|
- POSTGRES_PASSWORD=STRONG_DB_PASSWORD
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docmost/database:/var/lib/postgresql/data
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:7.2-alpine
|
||||||
|
container_name: docmost-redis
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/docmost/redis:/data
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
Loading…
Reference in New Issue
Block a user