#!/bin/bash set -eu cd "$(dirname "$0")" if [ "$DEPLOY_ONION_SITE" = true ]; then if [ -z "$ONION_ADDRESS" ]; then echo "ERROR: ONION_ADDRESS is not defined." exit 1 fi fi # here's the NGINX config. We support ghost and nextcloud. echo "" > "$DOCKER_YAML_PATH" cat >>"$DOCKER_YAML_PATH" <>"$DOCKER_YAML_PATH" <>"$DOCKER_YAML_PATH" <>"$DOCKER_YAML_PATH" <>"$DOCKER_YAML_PATH" <>"$DOCKER_YAML_PATH" <