diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 96eb147..e9d58bd 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -283,27 +283,27 @@ services: - $Wdir/project/config/supervisord.conf:/etc/supervisor/supervisord.conf - workerservice: - image: $IMAGE_NAME - privileged: true - environment: - - NODENAME=${NODENAME} - - NODENETWORK=${NODENETWORK} - - DISPLAY=\${DISPLAY} - cap_add: - - NET_ADMIN - user: root - entrypoint: ["sec_bootstrap", "role=workerservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] - #ports: - # - "\${SSH_PORT}:22" - networks: - - ${HYBRID_NETWORK} - volumes: - - $Wdir/project:/home/docker/project - - $Wdir/project/data-www:/data-www - - $Wdir/project/config/nginx.conf:/etc/nginx/nginx.conf - - $Wdir/project/config/default.conf:/etc/nginx/conf.d/default.conf - - $Wdir/project/config/supervisord.conf:/etc/supervisor/supervisord.conf +# workerservice: +# image: $IMAGE_NAME +# privileged: true +# environment: +# - NODENAME=${NODENAME} +# - NODENETWORK=${NODENETWORK} +# - DISPLAY=\${DISPLAY} +# cap_add: +# - NET_ADMIN +# user: root +# entrypoint: ["sec_bootstrap", "role=workerservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] +# #ports: +# # - "\${SSH_PORT}:22" +# networks: +# - ${HYBRID_NETWORK} +# volumes: +# - $Wdir/project:/home/docker/project +# - $Wdir/project/data-www:/data-www +# - $Wdir/project/config/nginx.conf:/etc/nginx/nginx.conf +# - $Wdir/project/config/default.conf:/etc/nginx/conf.d/default.conf +# - $Wdir/project/config/supervisord.conf:/etc/supervisor/supervisord.conf networks: ${HYBRID_NETWORK}: @@ -656,7 +656,7 @@ if [ $COMMAND_UP -eq 1 ]; then generate_ssh_keys build_and_push_image # remove for microservices up_master - up_workers + #up_workers prompt_ready show_instruction @@ -677,7 +677,7 @@ elif [ $COMMAND_SCALE -eq 1 ]; then down_master down_workers up_master - up_workers + #up_workers prompt_ready show_instruction @@ -688,7 +688,7 @@ elif [ $COMMAND_RELOAD -eq 1 ]; then down_workers build_and_push_image up_master - up_workers + #up_workers prompt_ready show_instruction