mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-12 01:39:58 +02:00
Update application deployment by creating a specific image for Portainer
Adds a script to build a Docker image named `regisflow-regisflow:latest` and updates `docker-compose.yml` to use this image. 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/9a3582f2-7e8e-486b-adcd-5ad43f38f699.jpg
This commit is contained in:
1 parent
501b9d5ec1
commit
d83e29270e
3 files changed
+23
-1
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
+1
-1
@@ -28,7 +28,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
target: production
|
||||
image: regisflow/app:latest
|
||||
image: regisflow-regisflow:latest
|
||||
container_name: regisflow-app
|
||||
depends_on:
|
||||
regisflow-db:
|
||||
|
||||
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script pour créer l'image exacte que Portainer attend
|
||||
echo "🔧 Création de l'image regisflow-regisflow:latest pour Portainer"
|
||||
|
||||
# Construire l'image avec le nom exact que Portainer cherche
|
||||
docker build -t regisflow-regisflow:latest .
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "✅ Image regisflow-regisflow:latest créée avec succès"
|
||||
|
||||
# Vérifier que l'image existe
|
||||
echo "📋 Vérification de l'image:"
|
||||
docker images | grep regisflow-regisflow
|
||||
|
||||
echo ""
|
||||
echo "🐳 L'image est maintenant disponible pour Portainer"
|
||||
echo "💡 Vous pouvez maintenant redéployer votre stack dans Portainer"
|
||||
else
|
||||
echo "❌ Échec de la création de l'image"
|
||||
exit 1
|
||||
fi
|
||||
Reference in new issue
Block a user