docker: make storage host path configurable

Add STORAGE_HOST_PATH env var for volume mount.
Defaults to ../storage for local dev.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
michael 2026-01-31 08:54:54 -06:00
parent fa58a15e58
commit d4376d092b

View file

@ -15,7 +15,7 @@ services:
- WEBHOOK_BASE_URL=${WEBHOOK_BASE_URL}
- STORAGE_BASE=/app/storage
volumes:
- ../storage:/app/storage
- ${STORAGE_HOST_PATH:-../storage}:/app/storage
depends_on:
db:
condition: service_healthy
@ -35,7 +35,7 @@ services:
- WEBHOOK_BASE_URL=${WEBHOOK_BASE_URL}
- STORAGE_BASE=/app/storage
volumes:
- ../storage:/app/storage
- ${STORAGE_HOST_PATH:-../storage}:/app/storage
depends_on:
db:
condition: service_healthy