Browse Source

ttyd

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

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

Binary file not shown.

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

@ -166,6 +166,7 @@ if [ -d "$Wdir/project" ]; then
WORKDIR /home/docker/project
COPY .vimrc /home/docker
EXPOSE 3787
USER docker
EOF
fi
@ -248,6 +249,7 @@ if [ "$Wdir" == "$HOME" ]; then
COPY .vimrc /home/docker
WORKDIR /home/docker/project
EXPOSE 3787
USER docker
EOF
fi
@ -262,6 +264,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
@ -283,10 +286,12 @@ services:
entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"]
ports:
- "\${SSH_PORT}:22"
- "\${R_PORT2}:3787" # console
networks:
- ${HYBRID_NETWORK}
volumes:
- $Wdir/project:/home/docker/project
- $Wdir/bin/ttyd.x86_64:/usr/bin/ttyd
workerservice:

Loading…
Cancel
Save