Fix space with bold markdown

This commit is contained in:
Baohua Yang
2026-02-21 17:39:37 -08:00
parent 6aa7a51fef
commit 2ab40eacc0
64 changed files with 148 additions and 301 deletions

View File

@@ -324,7 +324,3 @@ services:
* `--no-up` 不自动启动服务
* `--quiet` 静默模式
### 参考资料
* [官方文档](https://docs.docker.com/compose/reference/overview/)

View File

@@ -564,8 +564,3 @@ MONGO_VERSION=3.6
```
执行 `docker compose up` 则会启动一个 `mongo:3.6` 镜像的容器
### 参考资料
* [官方文档](https://docs.docker.com/compose/compose-file/)
* [awesome-compose](https://github.com/docker/awesome-compose)

View File

@@ -209,7 +209,7 @@ $ docker compose run --rm web django-admin startproject mysite .
生成的目录结构
```
```bash
django-docker/
├── compose.yaml
├── Dockerfile
@@ -266,7 +266,7 @@ $ docker compose up
2. 启动 db 服务等待健康检查通过
3. 启动 web 服务
```
```bash
db-1 | PostgreSQL init process complete; ready for start up.
db-1 | LOG: database system is ready to accept connections
web-1 | Watching for file changes with StatReloader
@@ -340,7 +340,7 @@ $ sudo chown -R $USER:$USER .
### 开发 vs 生产关键差异
笔者特别提醒本节的配置是**开发环境**配置生产环境需要以下调整
笔者特别提醒本节的配置是 **开发环境** 配置生产环境需要以下调整
| 配置项 | 开发环境 | 生产环境 |
|--------|---------|---------|

View File

@@ -202,7 +202,7 @@ $ docker compose up
输出示例
```
```bash
db-1 | PostgreSQL init process complete; ready for start up.
db-1 | LOG: database system is ready to accept connections
web-1 | => Booting Puma

View File

@@ -8,7 +8,7 @@ WordPress 是全球最流行的内容管理系统 (CMS)。使用 Docker Compose
如下代码块所示展示了相关示例
```
```bash
wordpress/
├── compose.yaml
├── .env # 环境变量(敏感信息)