From 78a07100fd4971e3748839e0e5e292d1c2665465 Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 26 Jan 2022 02:50:51 +0200 Subject: [PATCH] add --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 8288554..28257ca 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -291,15 +291,17 @@ services: - DISPLAY=\${DISPLAY} cap_add: - NET_ADMIN + - SYS_MODULE user: root #entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] ports: - "\${R_PORT1}:80" # - "\${R_PORT2}:3080" - networks: - - ${HYBRID_NETWORK} +# networks: +# - ${HYBRID_NETWORK} volumes: - $Wdir/project:/home/docker/project + - /lib/modules:/lib/modules #- $Wdir/project/package.json:/home/docker/project/package.json #- $Wdir/project/config.default.js:/home/docker/project/config.js #- $Wdir/$bootstrap:/usr/bin/$bootstrap