Browse Source

change docker-compose

master
zeus 3 years ago
parent
commit
fce2a39ee4
  1. 12
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -278,10 +278,10 @@ cat << EOF > $Wdir/docker-compose.yml
version: "2" version: "2"
services: services:
# registry: registry:
# image: registry image: registry
# ports: ports:
# - "${REGISTRY_PORT}:5000" - "${REGISTRY_PORT}:5000"
master: master:
image: $REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME image: $REGISTRY_ADDR:$REGISTRY_PORT/$IMAGE_NAME
@ -666,9 +666,9 @@ if [ $COMMAND_UP -eq 1 ]; then
create_dockerfile create_dockerfile
down_all down_all
clear_all clear_all
#up_registry # remove for microservices up_registry # remove for microservices
generate_ssh_keys generate_ssh_keys
#build_and_push_image # remove for microservices build_and_push_image # remove for microservices
up_master up_master
up_workers up_workers

Loading…
Cancel
Save