Broaden app volume mount from /data/images to /data

Single named volume app_data covering the entire /data directory so
future persistent storage (uploads, exports, etc.) doesn't need
additional volume entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 12:58:33 -05:00
parent efe0a15b8c
commit c962e86039
+4 -4
View File
@@ -9,9 +9,9 @@ services:
ollama:
condition: service_started
volumes:
- image_cache:/data/images
# To use a bind mount instead (gives direct host access to cached images):
# - ./image_cache:/data/images
- app_data:/data
# To use a bind mount instead (gives direct host access to all app data):
# - ./data:/data
environment:
DATABASE_URL: "postgresql+asyncpg://${POSTGRES_USER:-fabled}:${POSTGRES_PASSWORD:-fabled}@db:5432/${POSTGRES_DB:-fabledassistant}"
OLLAMA_URL: "http://ollama:11434"
@@ -62,4 +62,4 @@ services:
volumes:
pgdata:
ollama_models:
image_cache:
app_data: