Browse Source

etherpad

master
zeus 3 years ago
parent
commit
349be12048
  1. 2
      install/usr/share/swarmlab.io/sec/sec_bootstrap
  2. 3
      install/usr/share/swarmlab.io/sec/swarmlab-sec

2
install/usr/share/swarmlab.io/sec/sec_bootstrap

@ -48,6 +48,8 @@ case $ROLE in
#firefox #firefox
# /root/start-nginx.sh # /root/start-nginx.sh
# Start ssh server # Start ssh server
cd /opt/etherpad-lite
node src/node/server.js
tail -f /dev/null tail -f /dev/null
#/usr/sbin/sshd -D #/usr/sbin/sshd -D
;; ;;

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

@ -284,7 +284,8 @@ services:
- DISPLAY=\${DISPLAY} - DISPLAY=\${DISPLAY}
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
user: root #user: root
user: etherpad
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}:9001" - "\${R_PORT1}:9001"

Loading…
Cancel
Save