mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-24 15:38:18 +02:00
Automate database migrations on Docker startup for production
Update Dockerfile and entrypoint script to automatically run database migrations and apply schema changes upon container initialization. Replit-Commit-Author: Agent Replit-Commit-Session-Id: f9197b9b-a5b3-4469-a27d-930a9e9ee736 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/f9197b9b-a5b3-4469-a27d-930a9e9ee736/i2gFnxm
This commit is contained in:
1 parent
f55a7a6217
commit
a2554c4962
4 files changed
+98
-32
No files matched your search
Executable → Regular
+2
-2
@@ -95,8 +95,8 @@ else
|
||||
log "⚠️ Erreur lors de la migration - vérification manuelle nécessaire"
|
||||
fi
|
||||
|
||||
# Démarrage complet de l'application
|
||||
log "🚀 Démarrage complet de l'application..."
|
||||
# Démarrage complet de l'application (la migration sera automatique)
|
||||
log "🚀 Démarrage complet de l'application avec migration automatique..."
|
||||
docker-compose up -d
|
||||
|
||||
# Attendre que l'application soit prête
|
||||
|
||||
Reference in new issue
Block a user