chore: add backups directory to docker-compose
- Included a volume mapping for the `./backups` directory in the docker-compose file to facilitate backup management.
This commit is contained in:
@@ -16,6 +16,7 @@ services:
|
|||||||
- sqlite_data:/app/data
|
- sqlite_data:/app/data
|
||||||
# Monter ta DB locale (décommente pour utiliser tes données locales)
|
# Monter ta DB locale (décommente pour utiliser tes données locales)
|
||||||
- ./prisma/dev.db:/app/data/prod.db
|
- ./prisma/dev.db:/app/data/prod.db
|
||||||
|
- ./backups:/app/backups
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health || exit 1"]
|
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health || exit 1"]
|
||||||
|
|||||||
Reference in New Issue
Block a user