davebv b81c611a06
Don't overwrite base url if BASE_URL env not set
Avoid overwriting the base url if the BASE_URL env is not set. This will allow the GUI settings to work as expected.
2019-05-10 20:54:01 +02:00

11 lines
226 B
Plaintext

#!/usr/bin/with-contenv bash
cd /opt/ombi || exit
if [[ ! -z "${BASE_URL}" ]]; then
EXTRA_PARAM="--baseurl ${BASE_URL}"
fi
exec \
s6-setuidgid abc /opt/ombi/Ombi --storage "/config" --host http://*:3579 ${EXTRA_PARAM}