chore: refine database and backup paths in configuration

- Updated `.gitignore` to only exclude `.db` files in the `/data/` directory and preserve backups.
- Modified `docker-compose.yml` to switch database and backup paths to `dev.db`, aligning with the current development setup.
This commit is contained in:
Julien Froidefond
2025-09-20 15:58:53 +02:00
parent 329018161c
commit ee442de773
3 changed files with 110 additions and 3 deletions

View File

@@ -8,8 +8,8 @@ services:
- "3006:3000"
environment:
NODE_ENV: production
DATABASE_URL: "file:../data/prod.db" # Prisma
BACKUP_DATABASE_PATH: "./data/prod.db" # Base de données à sauvegarder
DATABASE_URL: "file:../data/dev.db" # Prisma
BACKUP_DATABASE_PATH: "./data/dev.db" # Base de données à sauvegarder
BACKUP_STORAGE_PATH: "./data/backups" # Dossier des sauvegardes
TZ: Europe/Paris
volumes: