mirror of
https://github.com/linuxserver/docker-bookstack.git
synced 2026-02-20 02:30:30 +08:00
fix substitution of APP_URL when provided
https://github.com/linuxserver/docker-bookstack/issues/58
This commit is contained in:
parent
fd86e7485f
commit
4c6c4234cd
@ -58,7 +58,7 @@ if [ "${DB_USER}" ];
|
||||
fi
|
||||
|
||||
# set appurl if detected
|
||||
[[ "${APP_URL}" ]] && sed -i "s,#\sAPP_URL.*,APP_URL=${APP_URL},g" /config/www/.env
|
||||
[ -n "${APP_URL}" ] && sed -r "s,([#\s]*)?APP_URL=.*,APP_URL=${APP_URL},g" -i /config/www/.env
|
||||
|
||||
# check for the mysql endpoint for 30 seconds
|
||||
END=$((SECONDS+30))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user