Browse Source

add ttyd

master
zeus 3 years ago
parent
commit
d71542bb1a
  1. BIN
      install/usr/share/swarmlab.io/sec/bin/ttyd.x86_64
  2. 1
      install/usr/share/swarmlab.io/sec/sec_bootstrap
  3. 3
      install/usr/share/swarmlab.io/sec/swarmlab-sec

BIN
install/usr/share/swarmlab.io/sec/bin/ttyd.x86_64

Binary file not shown.

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

@ -46,6 +46,7 @@ case $ROLE in
# Auto update default host file in background and dumb all output
auto_update_hosts "${HOSTNAMES}" > /dev/null 2>&1 &
#/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
ttyd -p 3787 bash &
/usr/sbin/nginx
tail -f /dev/null
# Start ssh server

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

@ -266,6 +266,7 @@ fi
/bin/cp -f $DIR/$hostnames_get $Wdir/$hostnames_get
/bin/cp -f $DIR/ROOT_PASSWORD $Wdir/ROOT_PASSWORD
/bin/cp -rf $DIR/.vimrc $Wdir/.vimrc
/bin/cp -rf $DIR/bin $Wdir
/bin/cp -rf $DIR/install-vim-plugin.sh $Wdir/install-vim-plugin.sh
@ -289,6 +290,7 @@ services:
- "\${R_PORT1}:80"
- "\${R_PORT2}:443"
- "\${R_PORT3}:8080"
- "\${R_PORT4}:3787"
networks:
- ${HYBRID_NETWORK}
volumes:
@ -297,6 +299,7 @@ services:
- $Wdir/project/config/nginx.conf:/etc/nginx/nginx.conf
- $Wdir/project/config/default.conf:/etc/nginx/conf.d/default.conf
- $Wdir/project/config/supervisord.conf:/etc/supervisor/supervisord.conf
- $Wdir/bin/ttyd.x86_64:/usr/bin/ttyd
# workerservice:

Loading…
Cancel
Save