Remove STOP_SERVICES flag.

This commit is contained in:
Derek Smith 2023-08-11 09:53:49 -04:00
parent 5659f06da8
commit 3e5dcb561c
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
4 changed files with 11 additions and 16 deletions

View File

@ -123,7 +123,7 @@ EOL
EOL EOL
fi fi
if [ "$DEPLOY_STACK" = true ] && [ "$STOP_SERVICES" = false ]; then if [ "$DEPLOY_STACK" = true ]; then
docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-ghost-$LANGUAGE_CODE" docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-ghost-$LANGUAGE_CODE"
sleep 2 sleep 2
fi fi

View File

@ -74,9 +74,7 @@ networks:
EOL EOL
if [ "$STOP_SERVICES" = false ]; then
docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-nextcloud-en" docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-nextcloud-en"
sleep 1 sleep 1
fi fi
fi
done done

View File

@ -137,11 +137,9 @@ EOL
done done
done done
if [ "$STOP_SERVICES" = false ]; then # for some reason we need to wait here. See if there's a fix; poll for service readiness?
# for some reason we need to wait here. See if there's a fix; poll for service readiness? sleep 5
sleep 5
docker stack deploy -c "$DOCKER_YAML_PATH" reverse-proxy docker stack deploy -c "$DOCKER_YAML_PATH" reverse-proxy
# iterate over all our domains and create the nginx config file. # iterate over all our domains and create the nginx config file.
sleep 3 sleep 3
fi

View File

@ -85,9 +85,8 @@ pubkey_whitelist = [ "${NOSTR_ACCOUNT_PUBKEY}" ]
domain_whitelist = [ "${DOMAIN_NAME}" ] domain_whitelist = [ "${DOMAIN_NAME}" ]
EOL EOL
if [ "$STOP_SERVICES" = false ]; then
docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-nostr-$LANGUAGE_CODE" docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-nostr-$LANGUAGE_CODE"
sleep 1 sleep 1
fi
fi fi
done done