mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-23 23:28:18 +02:00
Automate database table creation during initial application deployment
Updates docker-compose to build images and adds Drizzle ORM push command to docker-entrypoint-simple.sh for automatic table creation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/142044c4-d937-4abb-ae50-83d9764cfb4d.jpg
This commit is contained in:
1 parent
e761448ae9
commit
4c89a7e2e5
5 files changed
+208
-12
No files matched your search
@@ -43,15 +43,14 @@ ALLOWED_DOMAIN=votre-domaine.com
|
||||
## 3. Déploiement
|
||||
|
||||
```bash
|
||||
# Télécharger les images
|
||||
docker-compose pull
|
||||
|
||||
# Démarrer les services
|
||||
docker-compose up -d
|
||||
# Construire et démarrer les services
|
||||
docker-compose up -d --build
|
||||
|
||||
# Vérifier le statut
|
||||
docker-compose ps
|
||||
docker-compose logs -f regisflow
|
||||
|
||||
# Les tables sont créées automatiquement au premier démarrage
|
||||
```
|
||||
|
||||
## 4. Vérification
|
||||
|
||||
Reference in new issue
Block a user