moved to NFS share for volume storage. Migrated all data

This commit is contained in:
git
2026-07-02 12:49:48 +10:00
parent d9cce278e6
commit 5e47ae2777
110 changed files with 146 additions and 6611 deletions
+36 -16
View File
@@ -26,14 +26,24 @@ services:
GRAMPSWEB_CELERY_CONFIG__result_backend: redis://gramps-redis:6379/0
GRAMPSWEB_RATELIMIT_STORAGE_URI: redis://gramps-redis:6379/1
volumes:
- ${PROJECT_ROOT}/apps/gramps/data/users:/app/users
- ${PROJECT_ROOT}/apps/gramps/data/index:/app/indexdir
- ${PROJECT_ROOT}/apps/gramps/data/thumbnail_cache:/app/thumbnail_cache
- ${PROJECT_ROOT}/apps/gramps/data/cache:/app/cache
- ${PROJECT_ROOT}/apps/gramps/data/secret:/app/secret
- ${PROJECT_ROOT}/apps/gramps/data/db:/root/.gramps/grampsdb
- ${PROJECT_ROOT}/apps/gramps/data/media:/app/media
- ${PROJECT_ROOT}/apps/gramps/data/tmp:/tmp
# - ${PROJECT_ROOT}/apps/gramps/data/users:/app/users
# - ${PROJECT_ROOT}/apps/gramps/data/index:/app/indexdir
# - ${PROJECT_ROOT}/apps/gramps/data/thumbnail_cache:/app/thumbnail_cache
# - ${PROJECT_ROOT}/apps/gramps/data/cache:/app/cache
# - ${PROJECT_ROOT}/apps/gramps/data/secret:/app/secret
# - ${PROJECT_ROOT}/apps/gramps/data/db:/root/.gramps/grampsdb
# - ${PROJECT_ROOT}/apps/gramps/data/media:/app/media
# - ${PROJECT_ROOT}/apps/gramps/data/tmp:/tmp
- ${DOCKER_VOLUMES}/gramps-data/users:/app/users
- ${DOCKER_VOLUMES}/gramps-data/index:/app/indexdir
- ${DOCKER_VOLUMES}/gramps-data/thumbnail_cache:/app/thumbnail_cache
- ${DOCKER_VOLUMES}/gramps-data/cache:/app/cache
- ${DOCKER_VOLUMES}/gramps-data/secret:/app/secret
- ${DOCKER_VOLUMES}/gramps-data/db:/root/.gramps/grampsdb
- ${DOCKER_VOLUMES}/gramps-data/media:/app/media
- ${DOCKER_VOLUMES}/gramps-data/tmp:/tmp
labels:
- "traefik.http.routers.gramps.rule=Host(`familytree.lan.ddnsgeek.com`)"
- "traefik.enable=true"
@@ -81,14 +91,24 @@ services:
GRAMPSWEB_CELERY_CONFIG__result_backend: redis://gramps-redis:6379/0
GRAMPSWEB_RATELIMIT_STORAGE_URI: redis://gramps-redis:6379/1
volumes:
- ${PROJECT_ROOT}/apps/gramps/data/users:/app/users
- ${PROJECT_ROOT}/apps/gramps/data/index:/app/indexdir
- ${PROJECT_ROOT}/apps/gramps/data/thumbnail_cache:/app/thumbnail_cache
- ${PROJECT_ROOT}/apps/gramps/data/cache:/app/cache
- ${PROJECT_ROOT}/apps/gramps/data/secret:/app/secret
- ${PROJECT_ROOT}/apps/gramps/data/db:/root/.gramps/grampsdb
- ${PROJECT_ROOT}/apps/gramps/data/media:/app/media
- ${PROJECT_ROOT}/apps/gramps/data/tmp:/tmp
# - ${PROJECT_ROOT}/apps/gramps/data/users:/app/users
# - ${PROJECT_ROOT}/apps/gramps/data/index:/app/indexdir
# - ${PROJECT_ROOT}/apps/gramps/data/thumbnail_cache:/app/thumbnail_cache
# - ${PROJECT_ROOT}/apps/gramps/data/cache:/app/cache
# - ${PROJECT_ROOT}/apps/gramps/data/secret:/app/secret
# - ${PROJECT_ROOT}/apps/gramps/data/db:/root/.gramps/grampsdb
# - ${PROJECT_ROOT}/apps/gramps/data/media:/app/media
# - ${PROJECT_ROOT}/apps/gramps/data/tmp:/tmp
- ${DOCKER_VOLUMES}/gramps-data/users:/app/users
- ${DOCKER_VOLUMES}/gramps-data/index:/app/indexdir
- ${DOCKER_VOLUMES}/gramps-data/thumbnail_cache:/app/thumbnail_cache
- ${DOCKER_VOLUMES}/gramps-data/cache:/app/cache
- ${DOCKER_VOLUMES}/gramps-data/secret:/app/secret
- ${DOCKER_VOLUMES}/gramps-data/db:/root/.gramps/grampsdb
- ${DOCKER_VOLUMES}/gramps-data/media:/app/media
- ${DOCKER_VOLUMES}/gramps-data/tmp:/tmp
networks:
- gramps
healthcheck: