Fix wordpress compose file volume format

pull/357/head
khs1994 2018-08-25 22:20:04 +08:00
parent ee656ff4bb
commit 276199aa37
2 changed files with 3 additions and 3 deletions

View File

@ -24,4 +24,4 @@ services:
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
volumes:
db_data:
db_data:

View File

@ -10,7 +10,7 @@
### 创建 `docker-compose.yml` 文件
`docker-compose.yml` 文件将开启一个 `wordpress` 服务和一个独立的 `MySQL` 实例:
[`docker-compose.yml`](https://github.com/yeasy/docker_practice/blob/master/compose/demo/wordpress/docker-compose.yml) 文件将开启一个 `wordpress` 服务和一个独立的 `MySQL` 实例:
```yaml
version: "3"
@ -39,7 +39,7 @@ services:
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
volumes:
db_data:
db_data:
```
### 构建并运行项目