From 9bbaa680106cd6f00657b46e062e77fee59d15cc Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 1 Apr 2021 20:17:35 +0300 Subject: [PATCH] add microservice --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index dc0691e..fe1f3e5 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -446,7 +446,10 @@ up_master () printf "\\n%s\\n" "$HEADER" echo "$ docker-compose up -d masterservice" printf "\\n" - docker-compose up --force-recreate -d masterservice + docker-compose rm -f + docker-compose pull + docker-compose up --build -d masterservice + #docker-compose up --force-recreate -d masterservice } @@ -456,7 +459,10 @@ up_workers () printf "\\n%s\\n" "$HEADER" echo "$ docker-compose up -d worker" printf "\\n" - docker-compose up --force-recreate -d workerservice + docker-compose rm -f + docker-compose pull + docker-compose up --build -d workerservice + #docker-compose up --force-recreate -d workerservice printf "\\n" printf "\\n%s\\n" "$HEADER"