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