Skip to content
This repository was archived by the owner on Jun 29, 2025. It is now read-only.

Commit 239b24c

Browse files
committed
Update README.md
1 parent 4ced858 commit 239b24c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ The following environment variables can be set when running the Docker container
4040
| WORDPRESS\_DATABASE\_PASSWORD | wpuser | mypassword | The password for the WordPress database. |
4141
| WORDPRESS\_DATABASE\_HOST | localhost | example.com or 64.23.50.120 | The ip address of the WordPress database, can be private, public or you can use a domain. |
4242
| WORDPRESS\_HOST | localhost | example.com or 64.23.50.120 | The host of your WordPress site. If this is not set or is empty, it will default to <strong>localhost</strong>. This means that all resources will only be available on localhost. To make your WordPress site work online, change this variable to the public IP address or domain name of your host. |
43+
| WORDPRESS\_COMPOSE | false | true | If you use this image in a docker compose, you must set this variable to true, this will delay wordpress startup to allow the database container to initialize and avoid the database not found error on wordpress. |
4344

4445
⚠️ **Important :** The var `WORDPRESS_DATABASE_HOST` it can't be `localhost` you must change this variable or the container will be stopped, if you have a database container change to host or container ip. ⚠️
4546

0 commit comments

Comments
 (0)