11 lines
220 B
Bash
11 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 "$@"
|