Update Docker configuration to persist uploaded images: Modify docker-compose.yml to include a volume for uploaded images, enhance Dockerfile to create the uploads directory, and update README to document the new uploads path configuration.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled

This commit is contained in:
Julien Froidefond
2025-12-12 08:13:40 +01:00
parent 6f98013382
commit 09a3f6a106
3 changed files with 24 additions and 7 deletions

View File

@@ -16,6 +16,8 @@ services:
volumes:
# Persist database (override DATA_PATH env var to change location)
- ${PRISMA_DATA_PATH:-/Volumes/EXTERNAL_USB/sites/got-gaming/data}:/app/data
# Persist uploaded images
- ${UPLOADS_PATH:-./uploads}:/app/public/uploads
- ./prisma/migrations:/app/prisma/migrations
restart: unless-stopped
labels: