From 0a34b8bec2fbeaaacdff19877373a5261b503758 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 29 Nov 2021 13:07:00 +0200 Subject: [PATCH] ad config --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 7ee02f5..7532c59 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -106,6 +106,9 @@ REGISTRY_ADDR=localhost REGISTRY_PORT=5000 IMAGE_NAME=$HYBRID_NETWORK SSH_PORT=$servicesshport +WEB_PORT=$servicesshport +WEB_PORT1=$servicesshport +WEB_PORT2=$servicesshport EOF fi @@ -272,7 +275,9 @@ services: user: root entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] ports: - - "\${SSH_PORT}:22" + - "\${WEB_PORT}:80" + - "\${WEB_PORT1}:443" + - "\${WEB_PORT2}:8080" networks: - ${HYBRID_NETWORK} volumes: