Docker compose file for the Trilium notes app
# Assumptions: | |
# Traefik container is already up and running along with the corresponding network | |
version: '3.7' | |
services: | |
web: | |
image: zadam/trilium:0.42.1 | |
volumes: | |
- ${VOLUME_PATH}trilium-data:/root/trilium-data | |
deploy: | |
labels: | |
- traefik.port=8080 | |
- traefik.enable=true | |
- traefik.frontend.rule=Host:${DOMAIN:-notes.localhost} | |
networks: | |
- traefik | |
volumes: | |
trilium-data: | |
networks: | |
traefik: | |
external: true | |
name: traefik-net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment