zeus 3 years ago
parent
commit
78a07100fd
  1. 6
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -291,15 +291,17 @@ services:
- DISPLAY=\${DISPLAY} - DISPLAY=\${DISPLAY}
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
- SYS_MODULE
user: root user: root
#entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] #entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"]
ports: ports:
- "\${R_PORT1}:80" - "\${R_PORT1}:80"
# - "\${R_PORT2}:3080" # - "\${R_PORT2}:3080"
networks: # networks:
- ${HYBRID_NETWORK} # - ${HYBRID_NETWORK}
volumes: volumes:
- $Wdir/project:/home/docker/project - $Wdir/project:/home/docker/project
- /lib/modules:/lib/modules
#- $Wdir/project/package.json:/home/docker/project/package.json #- $Wdir/project/package.json:/home/docker/project/package.json
#- $Wdir/project/config.default.js:/home/docker/project/config.js #- $Wdir/project/config.default.js:/home/docker/project/config.js
#- $Wdir/$bootstrap:/usr/bin/$bootstrap #- $Wdir/$bootstrap:/usr/bin/$bootstrap

Loading…
Cancel
Save