From bfa1252cc30c491ec8d1c71fd3c257586ced1ff2 Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 1 Apr 2021 20:11:21 +0300 Subject: [PATCH] add microservice --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index a36b858..dc0691e 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -43,7 +43,7 @@ IMAGE_origin="hub.swarmlab.io:5443/hybrid-nodevuejs:latest" bootstrap="sec_bootstrap" hostnames="auto_update_hosts" hostnames_get="get_hosts" -NODENAME=${HYBRID_NETWORK}_masterservice_1.${HYBRID_NETWORK}_${HYBRID_NETWORK} +NODENAME=${HYBRID_NETWORK}_master_1.${HYBRID_NETWORK}_${HYBRID_NETWORK} NODENETWORK=${HYBRID_NETWORK} # shellcheck disable=SC1091 #. ./.env @@ -252,7 +252,7 @@ services: cap_add: - NET_ADMIN user: root - entrypoint: ["sec_bootstrap", "role=masterservice", "sec_masterservice_service_name=masterservice", "sec_worker_service_name=workerservice"] + entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] ports: - "\${SSH_PORT}:22" networks: @@ -271,7 +271,7 @@ services: cap_add: - NET_ADMIN user: root - entrypoint: ["sec_bootstrap", "role=workerservice", "sec_masterservice_service_name=masterservice", "sec_worker_service_name=workerservice"] + entrypoint: ["sec_bootstrap", "role=workerservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] networks: - ${HYBRID_NETWORK} volumes: