jeremy 4 mesi fa
parent
commit
5f9a3e3e52
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      LaunchToProd.sh

+ 2 - 2
LaunchToProd.sh

@@ -2,5 +2,5 @@ docker image tag testapp-frontend:latest 192.168.60.10:5005/gestionloyer_front:1
 docker image tag testapp-backend:latest 192.168.60.10:5005/gestionloyer_back:1
 docker image push 192.168.60.10:5005/gestionloyer_back:1
 docker image push 192.168.60.10:5005/gestionloyer_front:1
-docker service update prod-gestionlocative_gestionlocatibe-back --force-recreate
-docker service update prod-gestionlocative_gestionlocatibe-front --force-recreate
+docker service update --image 192.168.60.10:5005/gestionloyer_back:1 --force prod-gestionlocative_gestionlocatibe-back
+docker service update --image 192.168.60.10:5005/gestionloyer_front:1 --force prod-gestionlocative_gestionlocatibe-front