Browse Source

add jupyter

master
zeus 4 years ago
parent
commit
1b52fff21b
  1. 15
      install/usr/share/swarmlab.io/sec/swarmlab-sec

15
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -272,6 +272,21 @@ services:
- $Wdir/project:/home/docker/project - $Wdir/project:/home/docker/project
- /tmp/work:/tmp/work - /tmp/work:/tmp/work
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"]
networks:
- ${HYBRID_NETWORK}
volumes:
- $Wdir/project:/home/docker/project
networks: networks:
${HYBRID_NETWORK}: ${HYBRID_NETWORK}:

Loading…
Cancel
Save