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:
+4
-4
@@ -9,9 +9,9 @@ services:
|
|||||||
ollama:
|
ollama:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
volumes:
|
volumes:
|
||||||
- image_cache:/data/images
|
- app_data:/data
|
||||||
# To use a bind mount instead (gives direct host access to cached images):
|
# To use a bind mount instead (gives direct host access to all app data):
|
||||||
# - ./image_cache:/data/images
|
# - ./data:/data
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: "postgresql+asyncpg://${POSTGRES_USER:-fabled}:${POSTGRES_PASSWORD:-fabled}@db:5432/${POSTGRES_DB:-fabledassistant}"
|
DATABASE_URL: "postgresql+asyncpg://${POSTGRES_USER:-fabled}:${POSTGRES_PASSWORD:-fabled}@db:5432/${POSTGRES_DB:-fabledassistant}"
|
||||||
OLLAMA_URL: "http://ollama:11434"
|
OLLAMA_URL: "http://ollama:11434"
|
||||||
@@ -62,4 +62,4 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
ollama_models:
|
ollama_models:
|
||||||
image_cache:
|
app_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user