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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user