mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-22 22:58:16 +02:00
Fixes Docker deployment by building the image locally for Portainer
Updates docker-compose.yml to use a locally built image and adds DOCKER_DEPLOYMENT.md and build-docker.sh for deployment instructions, along with a backup JSON file. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/e3dd27f7-eb05-4352-b834-bf06ef42f3b7.jpg
This commit is contained in:
1 parent
28ca128ab6
commit
d8e5af6c77
4 files changed
+308
-3
No files matched your search
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script de construction Docker pour RegisFlow
|
||||
# Ce script construit l'image Docker localement
|
||||
|
||||
echo "🔧 Construction de l'image Docker RegisFlow..."
|
||||
|
||||
# Arrêter les conteneurs existants
|
||||
echo "🛑 Arrêt des conteneurs existants..."
|
||||
docker-compose down
|
||||
|
||||
# Construire l'image avec un nom spécifique
|
||||
echo "🏗️ Construction de l'image..."
|
||||
docker build -t regisflow:latest .
|
||||
|
||||
# Vérifier que l'image a été construite
|
||||
echo "📋 Vérification de l'image construite..."
|
||||
docker images | grep regisflow
|
||||
|
||||
echo "✅ Image construite avec succès !"
|
||||
echo "🐳 Vous pouvez maintenant utiliser 'regisflow:latest' dans Portainer"
|
||||
echo ""
|
||||
echo "Pour démarrer l'application :"
|
||||
echo " docker-compose up -d"
|
||||
Reference in new issue
Block a user