mirror of
https://github.com/linuxserver/docker-bookstack.git
synced 2026-02-20 02:30:30 +08:00
Merge pull request #62 from klutchell/master
fix substitution of APP_URL when provided
This commit is contained in:
commit
a7309cad9e
@ -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