Reading from Docker and Swarm
This commit is contained in:
parent
b196905320
commit
b7ec691e8f
7 changed files with 63 additions and 14 deletions
6
swarm.sh
6
swarm.sh
|
|
@ -5,13 +5,13 @@
|
|||
# -l com.byjg.easyhaproxy.port.http=80 \
|
||||
# -l com.byjg.easyhaproxy.port.localport=80 \
|
||||
# -l com.byjg.easyhaproxy.host.http=byjg.com.br \
|
||||
# -l com.byjg.easyhaproxy.redirect.http=byjg.com.br%http://www.byjg.com.br,byjg.com%http://www.byjg.com.br \
|
||||
# -l com.byjg.easyhaproxy.redirect.http=byjg.com.br--http://www.byjg.com.br,byjg.com--http://www.byjg.com.br \
|
||||
#-d byjg/php:7.3-fpm-nginx
|
||||
|
||||
|
||||
touch ./.docker_data ./docker_data_old
|
||||
touch /tmp/.docker_data /tmp/docker_data_old
|
||||
|
||||
mv ./.docker_data ./docker_data_old
|
||||
cp ./.docker_data ./docker_data_old
|
||||
|
||||
CONTAINERS=$(docker node ps $(docker node ls -q) --format "{{ .Name }}" --filter desired-state=running | cut -d. -f1 | sort | uniq)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue