zeus 3 years ago
parent
commit
9780461a54
  1. BIN
      install/usr/share/swarmlab.io/sec/bin/ttyd.x86_64
  2. 6
      install/usr/share/swarmlab.io/sec/swarmlab-sec

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

Binary file not shown.

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

@ -180,6 +180,7 @@ if [ -d "$Wdir/project" ]; then
EXPOSE 80
EXPOSE 6901
EXPOSE 3787
EOF
fi
else
@ -263,6 +264,7 @@ if [ "$Wdir" == "$HOME" ]; then
EXPOSE 80
EXPOSE 6901
EXPOSE 3787
EOF
fi
@ -277,6 +279,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
@ -298,12 +301,13 @@ services:
entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"]
ports:
- "\${R_PORT1}:6901"
# - "\${R_PORT2}:3080"
- "\${R_PORT2}:3080"
networks:
- ${HYBRID_NETWORK}
volumes:
- $Wdir/project:/home/docker/project
- $Wdir/$bootstrap:/usr/bin/$bootstrap
- $Wdir/bin/ttyd.x86_64:/usr/bin/ttyd
# workerservice:

Loading…
Cancel
Save