Browse Source

add microservice

master
zeus 4 years ago
parent
commit
9bbaa68010
  1. 10
      install/usr/share/swarmlab.io/sec/swarmlab-sec

10
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -446,7 +446,10 @@ up_master ()
printf "\\n%s\\n" "$HEADER" printf "\\n%s\\n" "$HEADER"
echo "$ docker-compose up -d masterservice" echo "$ docker-compose up -d masterservice"
printf "\\n" 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" printf "\\n%s\\n" "$HEADER"
echo "$ docker-compose up -d worker" echo "$ docker-compose up -d worker"
printf "\\n" 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"
printf "\\n%s\\n" "$HEADER" printf "\\n%s\\n" "$HEADER"

Loading…
Cancel
Save