|
|
@ -273,27 +273,6 @@ services: |
|
|
|
- /tmp/work:/tmp/work |
|
|
|
|
|
|
|
|
|
|
|
workerservice: |
|
|
|
image: $IMAGE_NAME |
|
|
|
privileged: true |
|
|
|
environment: |
|
|
|
- NODENAME=${NODENAME} |
|
|
|
- NODENETWORK=${NODENETWORK} |
|
|
|
- DISPLAY=\${DISPLAY} |
|
|
|
- JUPYTER_ENABLE_LAB='yes' |
|
|
|
restart: unless-stopped |
|
|
|
cap_add: |
|
|
|
- NET_ADMIN |
|
|
|
user: root |
|
|
|
entrypoint: ["sec_bootstrap", "role=workerservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] |
|
|
|
ports: |
|
|
|
- "\${SSH_PORT}:8888" |
|
|
|
networks: |
|
|
|
- ${HYBRID_NETWORK} |
|
|
|
volumes: |
|
|
|
- $Wdir/project:/home/docker/project |
|
|
|
- /tmp/work:/tmp/work |
|
|
|
|
|
|
|
networks: |
|
|
|
${HYBRID_NETWORK}: |
|
|
|
EOF |
|
|
|