This repository has been archived on 2023-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
unifiedpush-gotify/entrypoint.sh
samuel-p 42fca1fc41
All checks were successful
continuous-integration/drone/push Build is passing
initially added files
2021-02-23 22:57:36 +01:00

10 lines
220 B
Bash

#!/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 "$@"