|
|
@ -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: |
|
|
|