We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e1aeb9 + 4c6c423 commit a7309caCopy full SHA for a7309ca
root/etc/cont-init.d/50-config
@@ -58,7 +58,7 @@ if [ "${DB_USER}" ];
58
fi
59
60
# set appurl if detected
61
-[[ "${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
62
63
# check for the mysql endpoint for 30 seconds
64
END=$((SECONDS+30))
0 commit comments