Update wordpress.md

- Fix/Change volume name ``dbdata`` to ``db_data`` (Fit with ``db_data`` in Notes section.)
This commit is contained in:
Ryoichi Obara 2018-04-18 16:56:40 +09:00 committed by Joao Fernandes
parent 7de74feeb4
commit 3bb62ef910
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ Compose to set up and run WordPress. Before starting, make sure you have
db:
image: mysql:5.7
volumes:
- dbdata:/var/lib/mysql
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress
@ -60,7 +60,7 @@ Compose to set up and run WordPress. Before starting, make sure you have
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
volumes:
dbdata:
db_data:
```
> **Notes**: