#!/bin/bash if [[ -z "${GOTIFY_URL}" ]]; then echo "Please set GOTIFY_URL to your gotify instance." exit 1 fi envsubst '${RESOLVER} ${GOTIFY_URL}' < /nginx.conf.template > /etc/nginx/conf.d/default.conf exec "$@"