mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
Adding wordpress environment variable.
Wordpress needs to know what db to it's user has access to. Without this mysql throws access denied errors.
This commit is contained in:
@@ -59,6 +59,7 @@ Compose to set up and run WordPress. Before starting, make sure you have
|
||||
WORDPRESS_DB_HOST: db:3306
|
||||
WORDPRESS_DB_USER: wordpress
|
||||
WORDPRESS_DB_PASSWORD: wordpress
|
||||
WORDPRESS_DB_NAME: wordpress
|
||||
volumes:
|
||||
db_data: {}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user