Showing
2 changed files
with
12 additions
and
24 deletions
| @@ -208,21 +208,15 @@ Weibo_PublicOpinion_AnalysisSystem/ | @@ -208,21 +208,15 @@ Weibo_PublicOpinion_AnalysisSystem/ | ||
| 208 | 208 | ||
| 209 | ### 1. Starting the Project | 209 | ### 1. Starting the Project |
| 210 | 210 | ||
| 211 | -This project utilizes `docker compose` for managing and running multiple services. | 211 | +**Run Command:** Execute the following command to start all services in the **background**: |
| 212 | 212 | ||
| 213 | -1. **Locate File:** Navigate to the directory containing the provided `docker-compose.yml` file. | ||
| 214 | - | ||
| 215 | -2. **Run Command:** Execute the following command to start all services in the **background**: | ||
| 216 | - | ||
| 217 | - ```bash | ||
| 218 | - docker compose up -d | ||
| 219 | - ``` | ||
| 220 | - | ||
| 221 | - > **⚠️ Note: Slow Image Pull** | 213 | +```bash |
| 214 | +docker compose up -d | ||
| 215 | +``` | ||
| 222 | 216 | ||
| 223 | - > If you encounter slow image pulling speeds, you can modify the `image` field under the corresponding service in the `docker-compose.yml` file to use an alternative image source. | 217 | +> **⚠️ Note: Slow Image Pull** |
| 224 | 218 | ||
| 225 | - > In the original `docker-compose.yml` file, we have provided alternative (or mirror) image addresses as **comments** for you to replace with. | 219 | +> In the original `docker-compose.yml` file, we have provided alternative (or mirror) image addresses as **comments** for you to replace with. |
| 226 | 220 | ||
| 227 | ### 2. Configuration Instructions | 221 | ### 2. Configuration Instructions |
| 228 | 222 |
| @@ -208,21 +208,15 @@ Weibo_PublicOpinion_AnalysisSystem/ | @@ -208,21 +208,15 @@ Weibo_PublicOpinion_AnalysisSystem/ | ||
| 208 | 208 | ||
| 209 | ### 1. 启动项目 | 209 | ### 1. 启动项目 |
| 210 | 210 | ||
| 211 | -本项目使用 `docker compose` 进行多服务管理和运行。 | 211 | +**运行命令:** 执行以下命令在**后台**启动所有服务: |
| 212 | 212 | ||
| 213 | -1. **定位文件:** 切换到包含项目提供的 `docker-compose.yml` 文件的目录下。 | ||
| 214 | - | ||
| 215 | -2. **运行命令:** 执行以下命令在**后台**启动所有服务: | ||
| 216 | - | ||
| 217 | - ```bash | ||
| 218 | - docker compose up -d | ||
| 219 | - ``` | ||
| 220 | - | ||
| 221 | - > **⚠️ 注意:镜像拉取速度慢** | 213 | +```bash |
| 214 | +docker compose up -d | ||
| 215 | +``` | ||
| 222 | 216 | ||
| 223 | - > 如果您在拉取镜像时遇到速度过慢的问题,可以修改 `docker-compose.yml` 文件中对应服务下的 `image` 字段,以使用其他的镜像源。 | 217 | +> **⚠️ 注意:镜像拉取速度慢** |
| 224 | 218 | ||
| 225 | - > 在原 `docker-compose.yml` 文件中,我们已经通过**注释**的方式提供了备用(或其他)镜像地址供您替换。 | 219 | +> 在原 `docker-compose.yml` 文件中,我们已经通过**注释**的方式提供了备用(或其他)镜像地址供您替换。 |
| 226 | 220 | ||
| 227 | ### 2. 配置说明 | 221 | ### 2. 配置说明 |
| 228 | 222 |
-
Please register or login to post a comment