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"