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:
parent
fa58a15e58
commit
d4376d092b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue