Skip to content

Commit 28abaa4

Browse files
committed
updated readme
1 parent 1f2f75b commit 28abaa4

1 file changed

Lines changed: 18 additions & 11 deletions

File tree

README.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,18 @@ The database configuration can be specified explicitly with environment variable
3232
If any are omitted then values are inferred from the linked ```:mysql```
3333
container, otherwise sensible defaults are used.
3434

35-
| Variable | Value inferred from | Default
36-
|----------------| -------------------------| ---------
37-
| WP_DB_NAME | MYSQL_ENV_MYSQL_DATABASE | wordpress
38-
| WP_DB_USER | MYSQL_ENV_MYSQL_USER | wordpress
39-
| WP_DB_PASSWORD | MYSQL_ENV_MYSQL_PASSWORD | wordpress
40-
| WP_DB_HOST | MYSQL_PORT_3306_TCP_ADDR | mysql
41-
| WP_DB_PORT | MYSQL_PORT_3306_TCP_PORT | 3306
42-
| WP_DB_PREFIX | N/A | wp_
35+
| Variable | Value inferred from | Default
36+
|---------------------|-------------------------------|---------
37+
| WP_DB_NAME | MYSQL_ENV_MYSQL_DATABASE |
38+
| WP_DB_USER | MYSQL_ENV_MYSQL_USER |
39+
| WP_DB_PASSWORD | MYSQL_ENV_MYSQL_PASSWORD |
40+
| WP_DB_HOST | MYSQL_PORT_3306_TCP_ADDR | mysql
41+
| WP_DB_PORT | MYSQL_PORT_3306_TCP_PORT | 3306
42+
| WP_DB_PREFIX | N/A |
43+
| WP_DB_ROOT_USER | N/A | root
44+
| WP_DB_ROOT_PASSWORD | MYSQL_ENV_MYSQL_ROOT_PASSWORD |
45+
46+
The DB root user will be used to create the WP DB and user if they do not already exist.
4347

4448
`--extra-php` is supported with the `WP_EXTRA_PHP` environment variable. E.g.
4549

@@ -69,15 +73,18 @@ variable is set.
6973
|---------------|---------
7074
| WP_SUBDOMAINS | "yes"
7175

72-
Path-based multisites are not supported.
76+
Path-based multisite setups are not supported.
7377

74-
A domain mapping plugin is not required. Use the convenience function to
75-
register a new site.
78+
A domain mapping plugin is not required, though there is no UI to conveniently administer site domains.
79+
80+
Use the convenience function to register a new site. It will configure all domain mapping values.
7681

7782
WP_COMMANDS: |
7883
new_site sitea sitea.dev http://sitea.dev "Site A"
7984
wp --url=http://sitea.dev theme activate twentyfourteen
8085

86+
Cookies are configured to be issued for only the site's domain. Cookies are shared between www.example.com and example.com.
87+
8188
## Themes and Plugins
8289

8390
Themes and plugins can be installed from the WordPress.org repository, from a

0 commit comments

Comments
 (0)