diff --git a/install/usr/share/swarmlab.io/sec/sec_bootstrap b/install/usr/share/swarmlab.io/sec/sec_bootstrap index e62e303..cd6c591 100755 --- a/install/usr/share/swarmlab.io/sec/sec_bootstrap +++ b/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 ;; diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 0f83132..912eae1 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/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: