Fix GrampsWeb GEDCOM import: share cache volume between web and celery (STI-91)
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy (push) Has been cancelled
Code Quality / quality (push) Has been cancelled

The web container saves uploaded GEDCOM files to /app/cache/export/,
but the Celery worker has its own isolated /app/cache/ and can't find
the files (FileNotFoundError). Add shared gramps_cache volume mounted
at /app/cache/ on both containers.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
SysAdmin Agent
2026-04-05 19:45:51 +00:00
parent 3155c4b7d2
commit 1254ec46d0

View File

@@ -231,6 +231,7 @@ services:
--limit-request-line 8190 --limit-request-line 8190
volumes: volumes:
- gramps_data:/app/data - gramps_data:/app/data
- gramps_cache:/app/cache
depends_on: depends_on:
- db - db
- redis - redis
@@ -248,10 +249,12 @@ services:
command: celery -A gramps_webapi.celery worker --loglevel=info command: celery -A gramps_webapi.celery worker --loglevel=info
volumes: volumes:
- gramps_data:/app/data - gramps_data:/app/data
- gramps_cache:/app/cache
depends_on: depends_on:
- redis - redis
volumes: volumes:
dbdata: dbdata:
gramps_data: gramps_data:
gramps_cache:
ollama_data: ollama_data: