mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 07:23:38 +00:00
Fix wordpress compose file volume format
This commit is contained in:
parent
ee656ff4bb
commit
276199aa37
@ -24,4 +24,4 @@ services:
|
||||
WORDPRESS_DB_USER: wordpress
|
||||
WORDPRESS_DB_PASSWORD: wordpress
|
||||
volumes:
|
||||
db_data:
|
||||
db_data:
|
||||
|
@ -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:
|
||||
```
|
||||
|
||||
### 构建并运行项目
|
||||
|
Loading…
Reference in New Issue
Block a user