We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12b5988 commit df1bff3Copy full SHA for df1bff3
bootstrap.sh
@@ -5,6 +5,9 @@ set -e
5
# Call entrypoint.sh
6
docker-entrypoint.sh "$@"
7
8
+sed -i '/WP_DEBUG/a define("WP_SITEURL", "http://".$_SERVER["HTTP_HOST"]);' wp-config.php
9
+sed -i '/WP_DEBUG/a define("WP_HOME", "http://".$_SERVER["HTTP_HOST"]);' wp-config.php
10
+
11
# If HOST_UID is passed, change the permissions
12
if [ ! -z "$HOST_UID" ]; then
13
usermod -u ${HOST_UID} www-data
0 commit comments