Wordpress_db is no longer auto created

see https://github.com/docker-library/wordpress/pull/572
This commit is contained in:
Joe Ferguson 2021-03-12 14:00:55 -08:00
parent d1b7b5dcab
commit 847f674d7c
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ The following environment variables are also honored for configuring your WordPr
- `-e WORDPRESS_DEBUG=1` (defaults to disabled, non-empty value will enable `WP_DEBUG` in `wp-config.php`)
- `-e WORDPRESS_CONFIG_EXTRA=...` (defaults to nothing, non-empty value will be embedded verbatim inside `wp-config.php` -- especially useful for applying extra configuration values this image does not provide by default such as `WP_ALLOW_MULTISITE`; see [docker-library/wordpress#142](https://github.com/docker-library/wordpress/pull/142) for more details)
If the `WORDPRESS_DB_NAME` specified does not already exist on the given MySQL server, it will be created automatically upon startup of the `%%REPO%%` container, provided that the `WORDPRESS_DB_USER` specified has the necessary permissions to create it.
The `WORDPRESS_DB_NAME` needs to already exist on the given MySQL server; it will not be created by the `%%REPO%%` container.
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used: