From fce2a39ee4659b5cacd151f988431228893f83bb Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 9 Jul 2021 19:15:17 +0300 Subject: [PATCH] change docker-compose --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 42910b5..b483a62 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -278,10 +278,10 @@ cat << EOF > $Wdir/docker-compose.yml version: "2" services: -# registry: -# image: registry -# ports: -# - "${REGISTRY_PORT}:5000" + registry: + image: registry + ports: + - "${REGISTRY_PORT}:5000" master: image: $REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME @@ -666,9 +666,9 @@ if [ $COMMAND_UP -eq 1 ]; then create_dockerfile down_all clear_all - #up_registry # remove for microservices + up_registry # remove for microservices generate_ssh_keys - #build_and_push_image # remove for microservices + build_and_push_image # remove for microservices up_master up_workers