mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-08-05 07:11:49 +00:00
Update compose
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
## 使用 WordPress
|
||||
|
||||
本小节内容适合 PHP 开发人员阅读。
|
||||
本小节内容适合 `PHP` 开发人员阅读。
|
||||
|
||||
Compose 可以很便捷的让 Wordpress 运行在一个独立的环境中。
|
||||
`Compose` 可以很便捷的让 `Wordpress` 运行在一个独立的环境中。
|
||||
|
||||
### 创建空文件夹
|
||||
|
||||
@@ -44,4 +44,4 @@ volumes:
|
||||
|
||||
### 构建并运行项目
|
||||
|
||||
运行 `docker-compose up -d` Compose 就会拉取镜像再创建我们所需要的镜像,然后启动 `wordpress` 和数据库容器。 接着浏览器访问 `127.0.0.1:8000` 端口就能看到 WordPress 安装界面了。
|
||||
运行 `docker-compose up -d` Compose 就会拉取镜像再创建我们所需要的镜像,然后启动 `wordpress` 和数据库容器。 接着浏览器访问 `127.0.0.1:8000` 端口就能看到 `WordPress` 安装界面了。
|
||||
|
Reference in New Issue
Block a user