fix: add STORAGE_PATH to production docker-compose
Ensures STORAGE_PATH environment variable is explicitly set in production deployments to prevent path resolution issues when serving thumbnails and other storage-related operations.
This commit is contained in:
@@ -46,6 +46,7 @@ services:
|
|||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- DB_HOST=${DB_HOST:-postgres}
|
- DB_HOST=${DB_HOST:-postgres}
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
|
- STORAGE_PATH=/app/storage
|
||||||
- PHOTOS_DIR=/app/storage/events
|
- PHOTOS_DIR=/app/storage/events
|
||||||
- PICPEAK_RELEASE_CHANNEL=${PICPEAK_CHANNEL:-stable}
|
- PICPEAK_RELEASE_CHANNEL=${PICPEAK_CHANNEL:-stable}
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user