Fix GrampsWeb GEDCOM import: share cache volume between web and celery (STI-91)
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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user