Skip to content

Commit

Permalink
Fix missing database user for Wordpress service (docker#2824)
Browse files Browse the repository at this point in the history
* Fix missing database user for Wordpress service

It defaults to root if not specified. https://hub.docker.com/_/wordpress/

* Change root password to avoid confusion.
  • Loading branch information
bhavin192 authored and Misty Stanley-Jones committed Apr 18, 2017
1 parent 3d2afe9 commit 386d6dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compose/wordpress.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Compose to set up and run WordPress. Before starting, you'll need to have
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_ROOT_PASSWORD: somewordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
Expand All @@ -54,6 +54,7 @@ Compose to set up and run WordPress. Before starting, you'll need to have
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
volumes:
db_data:
Expand Down

0 comments on commit 386d6dc

Please sign in to comment.