mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-12 01:37:40 +02:00
Add scripts and Dockerfile modifications to ensure database tables are automatically created or updated when the Docker image is rebuilt and deployed. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
15 lines
421 B
YAML
15 lines
421 B
YAML
# Fichier de configuration Docker Compose pour le développement et la production
|
|
# Utilise les variables d'environnement pour la configuration
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
app:
|
|
volumes:
|
|
# Monter les scripts de migration
|
|
- ./scripts:/app/scripts:ro
|
|
environment:
|
|
# Forcer l'exécution des migrations au démarrage
|
|
- AUTO_MIGRATE=true
|
|
# Variables de debug
|
|
- DEBUG_MIGRATIONS=true |