web-site/deploy.sh

5 lines
163 B
Bash

docker stack rm rose-ash
. ./.env
export NODE=$1
for i in 1 2 3 4 5 6 7 8 9 10; do sleep 5 && docker stack deploy -c docker-compose.yml rose-ash && break ; done