|
@ -169,6 +169,7 @@ if [ -d "$Wdir/project" ]; then |
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} |
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} |
|
|
|
|
|
|
|
|
COPY .vimrc /home/docker |
|
|
COPY .vimrc /home/docker |
|
|
|
|
|
EXPOSE 3787 |
|
|
EOF |
|
|
EOF |
|
|
fi |
|
|
fi |
|
|
else |
|
|
else |
|
@ -249,6 +250,7 @@ if [ "$Wdir" == "$HOME" ]; then |
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} |
|
|
&& chown -R \${USER1}:\${USER1} \${SSHDIR} |
|
|
|
|
|
|
|
|
COPY .vimrc /home/docker |
|
|
COPY .vimrc /home/docker |
|
|
|
|
|
EXPOSE 3787 |
|
|
EOF |
|
|
EOF |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
@ -264,6 +266,7 @@ fi |
|
|
/bin/cp -f $DIR/$hostnames_get $Wdir/$hostnames_get |
|
|
/bin/cp -f $DIR/$hostnames_get $Wdir/$hostnames_get |
|
|
/bin/cp -f $DIR/ROOT_PASSWORD $Wdir/ROOT_PASSWORD |
|
|
/bin/cp -f $DIR/ROOT_PASSWORD $Wdir/ROOT_PASSWORD |
|
|
/bin/cp -rf $DIR/.vimrc $Wdir/.vimrc |
|
|
/bin/cp -rf $DIR/.vimrc $Wdir/.vimrc |
|
|
|
|
|
/bin/cp -rf $DIR/bin $Wdir |
|
|
/bin/cp -rf $DIR/haproxy.cfg $Wdir/haproxy.cfg |
|
|
/bin/cp -rf $DIR/haproxy.cfg $Wdir/haproxy.cfg |
|
|
/bin/cp -rf $DIR/install-vim-plugin.sh $Wdir/install-vim-plugin.sh |
|
|
/bin/cp -rf $DIR/install-vim-plugin.sh $Wdir/install-vim-plugin.sh |
|
|
|
|
|
|
|
@ -287,12 +290,14 @@ services: |
|
|
ports: |
|
|
ports: |
|
|
- "\${R_PORT1}:80" |
|
|
- "\${R_PORT1}:80" |
|
|
- "\${R_PORT2}:443" |
|
|
- "\${R_PORT2}:443" |
|
|
|
|
|
- "\${R_PORT3}:3787" |
|
|
networks: |
|
|
networks: |
|
|
- ${HYBRID_NETWORK} |
|
|
- ${HYBRID_NETWORK} |
|
|
volumes: |
|
|
volumes: |
|
|
- $Wdir/project:/home/docker/project |
|
|
- $Wdir/project:/home/docker/project |
|
|
- $Wdir/$bootstrap:/usr/bin/$bootstrap |
|
|
- $Wdir/$bootstrap:/usr/bin/$bootstrap |
|
|
- $Wdir/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg |
|
|
- $Wdir/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg |
|
|
|
|
|
- $Wdir/bin/ttyd.x86_64:/usr/bin/ttyd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# workerservice: |
|
|
# workerservice: |
|
|