-
-
Notifications
You must be signed in to change notification settings - Fork 266
/
docker-compose.yml
34 lines (32 loc) · 1.5 KB
/
docker-compose.yml
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
services:
grampsweb:
image: ghcr.io/gramps-project/grampsweb:latest
container_name: gramps-web
restart: unless-stopped
ports:
- 5000:5000
expose:
- 5000
environment:
GRAMPSWEB_TREE: "Gramps Web" # will create a new tree if not exists
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/users:/app/users # persist user database
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/indexdir:/app/indexdir # persist search index
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/thumbnail_cache:/app/thumbnail_cache # persist thumbnails
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/cache:/app/cache # persist export and report caches
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/secret:/app/secret # persist flask secret
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/database:/root/.gramps/grampsdb # persist Gramps database
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/media:/app/media # persist media files
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/tmp:/tmp
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.gramps.rule=Host(`family.lrvt.de`)
# - traefik.http.services.gramps.loadbalancer.server.port=5000
# # Part for optional traefik middlewares
# - traefik.http.routers.gramps.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true