Browse Source

ttyd

master
zeus 3 years ago
parent
commit
9f5b3eb544
  1. 2
      install/usr/share/swarmlab.io/sec/sec_bootstrap
  2. 4
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

@ -48,7 +48,7 @@ case $ROLE in
#firefox
# /root/start-nginx.sh
# Start ssh server
ttyd -p 3000 bash
ttyd -p 3787 bash
tail -f /dev/null
#/usr/sbin/sshd -D
;;

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

@ -169,6 +169,7 @@ if [ -d "$Wdir/project" ]; then
COPY .vimrc /home/docker
EXPOSE 8081
EXPOSE 3787
USER docker
EOF
fi
@ -248,6 +249,7 @@ if [ "$Wdir" == "$HOME" ]; then
COPY .vimrc /home/docker
EXPOSE 8081
EXPOSE 3787
USER docker
EOF
fi
@ -289,7 +291,7 @@ services:
entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"]
ports:
- "\${R_PORT1}:8081"
# - "\${R_PORT2}:3080"
- "\${R_PORT2}:3787"
networks:
- ${HYBRID_NETWORK}
volumes:

Loading…
Cancel
Save