|
|
@ -169,6 +169,7 @@ if [ -d "$Wdir/project" ]; then |
|
|
|
|
|
|
|
COPY .vimrc /home/docker |
|
|
|
USER docker |
|
|
|
EXPOSE 3787 |
|
|
|
EOF |
|
|
|
fi |
|
|
|
else |
|
|
@ -247,6 +248,7 @@ if [ "$Wdir" == "$HOME" ]; then |
|
|
|
|
|
|
|
COPY .vimrc /home/docker |
|
|
|
USER docker |
|
|
|
EXPOSE 3787 |
|
|
|
EOF |
|
|
|
fi |
|
|
|
|
|
|
@ -263,6 +265,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/run-gui.sh $Wdir/run-gui.sh |
|
|
|
/bin/cp -rf $DIR/install-vim-plugin.sh $Wdir/install-vim-plugin.sh |
|
|
|
|
|
|
@ -283,8 +286,8 @@ services: |
|
|
|
- NET_ADMIN |
|
|
|
user: root |
|
|
|
entrypoint: ["sec_bootstrap", "role=masterservice", "sec_master_service_name=masterservice", "sec_worker_service_name=workerservice"] |
|
|
|
#ports: |
|
|
|
# - "\${R_PORT1}:8001" |
|
|
|
ports: |
|
|
|
- "\${R_PORT1}:3787" |
|
|
|
# - "\${R_PORT2}:3080" |
|
|
|
networks: |
|
|
|
- ${HYBRID_NETWORK} |
|
|
@ -292,6 +295,7 @@ services: |
|
|
|
- $Wdir/project:/home/docker/project |
|
|
|
- $Wdir/$bootstrap:/usr/bin/$bootstrap |
|
|
|
- /tmp/.X11-unix:/tmp/.X11-unix |
|
|
|
- $Wdir/bin/ttyd.x86_64:/usr/bin/ttyd |
|
|
|
|
|
|
|
|
|
|
|
# workerservice: |
|
|
|