mirror of
https://github.com/linuxserver/docker-ombi.git
synced 2026-02-20 00:58:02 +08:00
Avoid overwriting the base url if the BASE_URL env is not set. This will allow the GUI settings to work as expected.
11 lines
226 B
Plaintext
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}
|