diff --git a/www/stub/ghost_yml.sh b/www/stub/ghost_yml.sh index 790d790..b3e26f8 100755 --- a/www/stub/ghost_yml.sh +++ b/www/stub/ghost_yml.sh @@ -123,7 +123,7 @@ EOL EOL 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" sleep 2 fi diff --git a/www/stub/nextcloud_yml.sh b/www/stub/nextcloud_yml.sh index c8c6d6f..cda0c69 100755 --- a/www/stub/nextcloud_yml.sh +++ b/www/stub/nextcloud_yml.sh @@ -74,9 +74,7 @@ networks: EOL - if [ "$STOP_SERVICES" = false ]; then - docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-nextcloud-en" - sleep 1 - fi + docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-nextcloud-en" + sleep 1 fi done \ No newline at end of file diff --git a/www/stub/nginx_yml.sh b/www/stub/nginx_yml.sh index 1a674b9..56a8e10 100755 --- a/www/stub/nginx_yml.sh +++ b/www/stub/nginx_yml.sh @@ -137,11 +137,9 @@ EOL 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? - sleep 5 +# for some reason we need to wait here. See if there's a fix; poll for service readiness? +sleep 5 - docker stack deploy -c "$DOCKER_YAML_PATH" reverse-proxy - # iterate over all our domains and create the nginx config file. - sleep 3 -fi +docker stack deploy -c "$DOCKER_YAML_PATH" reverse-proxy +# iterate over all our domains and create the nginx config file. +sleep 3 diff --git a/www/stub/nostr_yml.sh b/www/stub/nostr_yml.sh index 7da5ff3..3de6149 100755 --- a/www/stub/nostr_yml.sh +++ b/www/stub/nostr_yml.sh @@ -85,9 +85,8 @@ pubkey_whitelist = [ "${NOSTR_ACCOUNT_PUBKEY}" ] domain_whitelist = [ "${DOMAIN_NAME}" ] EOL - if [ "$STOP_SERVICES" = false ]; then - docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-nostr-$LANGUAGE_CODE" - sleep 1 - fi + docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-nostr-$LANGUAGE_CODE" + sleep 1 + fi done