diff --git a/project_defaults.sh b/project_defaults.sh index 1ee4e99..5ce2816 100755 --- a/project_defaults.sh +++ b/project_defaults.sh @@ -3,7 +3,6 @@ set -e export DEPLOY_GHOST=true -export DEPLOY_CLAMS=false export DEPLOY_NOSTR=false export DEPLOY_NEXTCLOUD=false export DEPLOY_GITEA=false diff --git a/www/stop_docker_stacks.sh b/www/stop_docker_stacks.sh index 756329e..47337f1 100755 --- a/www/stop_docker_stacks.sh +++ b/www/stop_docker_stacks.sh @@ -1,8 +1,10 @@ #!/bin/bash -set -exu +set -eu cd "$(dirname "$0")" +# this scripts brings down the docker stacks on www + # bring down ghost instances. for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do export DOMAIN_NAME="$DOMAIN_NAME" diff --git a/www/stub/gitea_yml.sh b/www/stub/gitea_yml.sh index 0d6eb45..ab0904a 100755 --- a/www/stub/gitea_yml.sh +++ b/www/stub/gitea_yml.sh @@ -84,10 +84,10 @@ EOL ${DBNET_NAME}: EOL - if [ "$STOP_SERVICES" = false ]; then - docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-gitea-$LANGUAGE_CODE" - sleep 1 - fi + + docker stack deploy -c "$DOCKER_YAML_PATH" "$DOMAIN_IDENTIFIER-gitea-$LANGUAGE_CODE" + sleep 1 + fi done diff --git a/www/stub/nginx_config.sh b/www/stub/nginx_config.sh index 9520250..8447878 100755 --- a/www/stub/nginx_config.sh +++ b/www/stub/nginx_config.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -e +set -eu cd "$(dirname "$0")" # here's the NGINX config. We support ghost and nextcloud. @@ -172,7 +172,7 @@ EOL cat >>"$NGINX_CONF_PATH" <>"$NGINX_CONF_PATH" <>"$NGINX_CONF_PATH" <>"$NGINX_CONF_PATH" <