update wordpress compose file (#6029)

This commit is contained in:
Patrick Chanezon 2018-02-16 14:49:42 -08:00 committed by Gwendolynne Barr
parent 25534d814a
commit 1e88fbd088
1 changed files with 3 additions and 3 deletions

View File

@ -34,13 +34,13 @@ Compose to set up and run WordPress. Before starting, install
mount for data persistence:
```none
version: '3'
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
- dbdata:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress
@ -60,7 +60,7 @@ Compose to set up and run WordPress. Before starting, install
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
volumes:
db_data:
dbdata:
```
> **Notes**: