Browse Source

ad config

master
zeus 3 years ago
parent
commit
0a34b8bec2
  1. 7
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -106,6 +106,9 @@ REGISTRY_ADDR=localhost
REGISTRY_PORT=5000 REGISTRY_PORT=5000
IMAGE_NAME=$HYBRID_NETWORK IMAGE_NAME=$HYBRID_NETWORK
SSH_PORT=$servicesshport SSH_PORT=$servicesshport
WEB_PORT=$servicesshport
WEB_PORT1=$servicesshport
WEB_PORT2=$servicesshport
EOF EOF
fi fi
@ -272,7 +275,9 @@ services:
user: root user: root
entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"]
ports: ports:
- "\${SSH_PORT}:22" - "\${WEB_PORT}:80"
- "\${WEB_PORT1}:443"
- "\${WEB_PORT2}:8080"
networks: networks:
- ${HYBRID_NETWORK} - ${HYBRID_NETWORK}
volumes: volumes:

Loading…
Cancel
Save