diff --git a/web/docs/guide/deployment.md b/web/docs/guide/deployment.md index 5747b71a967..ccb49d00cca 100644 --- a/web/docs/guide/deployment.md +++ b/web/docs/guide/deployment.md @@ -39,7 +39,27 @@ docker-compose up -d > > **Please don't use AliCloud image source to pull Docker container, it will not pull the latest image.** -#### 2. Docker Run +#### 2. 1Panel Deployment + +2.1. Create a new application in 1Panel + + ![Click to install](../public/panel1.png) + + > The QD framework name may be different in different 1Panel versions, but they are all `QD` icons. + +2.2. Configure related settings + + ![Installation configuration](../public/panel2.png) + + > If you need to set environment variables, please click `Edit Compose file` + > + > See [Configuration](#configuration-environment-variables) below for configuration description + > + > If you don't need `OCR` or `hard disk space is not larger than 600M`, please use **`qdtoday/qd:lite-latest`** image, **this image only removes OCR related functions, other than the mainline version to keep consistent**. + +2.3. Click `Confirm` to install QD via 1Panel + +#### 3. Docker Run ``` sh docker run -d --name qd -p 8923:80 -v $(pwd)/qd/config:/usr/src/app/config qdtoday/qd diff --git a/web/docs/public/panel1.png b/web/docs/public/panel1.png new file mode 100644 index 00000000000..75de274cef2 Binary files /dev/null and b/web/docs/public/panel1.png differ diff --git a/web/docs/public/panel2.png b/web/docs/public/panel2.png new file mode 100644 index 00000000000..0ab8b0da65f Binary files /dev/null and b/web/docs/public/panel2.png differ diff --git a/web/docs/zh_CN/guide/deployment.md b/web/docs/zh_CN/guide/deployment.md index f9ec1125b64..4525b57c9be 100644 --- a/web/docs/zh_CN/guide/deployment.md +++ b/web/docs/zh_CN/guide/deployment.md @@ -39,7 +39,27 @@ docker-compose up -d > > **请勿使用 阿里云镜像源 拉取 Docker 容器, 会导致无法拉取最新镜像** -#### 2. Docker 运行 +#### 2. 1Panel 部署 + +2.1. 在 1Panel 中创建一个新的应用 + + ![点击安装](../../public/panel1.png) + + > 不同 1Panel 版本显示 QD 框架名称可能不同, 但均为 `QD` 图标. + +2.2. 配置相关设置 + + ![安装配置](../../public/panel2.png) + + > 如需设置环境变量请点击 `编辑 Compose 文件` + > + > 配置描述见下文 [Configuration](#配置环境变量) + > + > 如不需要`OCR功能`或者`硬盘空间不大于600M`, 请使用 **`qdtoday/qd:lite-latest`** 镜像, **该镜像仅去除了OCR相关功能, 其他与主线版本保持一致**。 + +2.3. 点击 `确认` 即可通过 1Panel 安装 QD + +#### 3. Docker 运行 ``` sh docker run -d --name qd -p 8923:80 -v $(pwd)/qd/config:/usr/src/app/config qdtoday/qd