Skip to content

Commit 12a3973

Browse files
authored
Update docker compose usage (#17076)
1 parent e3b42d5 commit 12a3973

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/version3.x/pipeline_usage/PaddleOCR-VL.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,10 +1150,10 @@ Note that the PaddleOCR-VL service described in this section differs from the VL
11501150

11511151
### 4.1 Method 1: Deploy Using Docker Compose (Recommended)
11521152

1153-
You can obtain the Compose file from [here](https://github.com/PaddlePaddle/PaddleOCR/blob/main/deploy/paddleocr_vl_docker/compose.yaml) and download it locally. Then, execute the following command in the directory where the Compose file is located to start the server, which listens on port **8080** by default:
1153+
You can obtain the Compose file and the environment variables configuration file from [here](https://github.com/PaddlePaddle/PaddleOCR/blob/main/deploy/paddleocr_vl_docker/compose.yaml) and [here](https://github.com/PaddlePaddle/PaddleOCR/blob/main/deploy/paddleocr_vl_docker/.env), respectively, and download them to your local machine. Then, in the directory where the files were just downloaded, execute the following command to start the server, which will listen on port **8080** by default:
11541154

11551155
```shell
1156-
# Must be executed in the directory where compose.yaml is located
1156+
# Must be executed in the directory containing the compose.yaml and .env files
11571157
docker compose up
11581158
```
11591159

docs/version3.x/pipeline_usage/PaddleOCR-VL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,10 +1187,10 @@ PaddleOCR 会将来自单张或多张输入图像中的子图分组并对服务
11871187

11881188
### 4.1 方法一:使用 Docker Compose 部署(推荐使用)
11891189

1190-
您可以从 [此处](https://github.com/PaddlePaddle/PaddleOCR/blob/main/deploy/paddleocr_vl_docker/compose.yaml) 获取 Compose 文件并下载到本地,然后在刚刚下载的 Compose 文件目录下执行以下命令启动服务器,默认监听 **8080** 端口:
1190+
您可以分别从 [此处](https://github.com/PaddlePaddle/PaddleOCR/blob/main/deploy/paddleocr_vl_docker/compose.yaml) 和 [此处](https://github.com/PaddlePaddle/PaddleOCR/blob/main/deploy/paddleocr_vl_docker/.env) 获取 Compose 文件与环境变量配置文件并下载到本地,然后在刚刚下载的文件所在目录下执行以下命令启动服务器,默认监听 **8080** 端口:
11911191

11921192
```shell
1193-
# 必须在 compose.yaml 文件所在的目录中执行
1193+
# 必须在 compose.yaml 和 .env 文件所在的目录中执行
11941194
docker compose up
11951195
```
11961196

0 commit comments

Comments
 (0)