perf: update docker

This commit is contained in:
Junyan Qin
2025-09-22 22:48:38 +08:00
parent 21aed9bdbb
commit 628ec019fa
2 changed files with 16 additions and 4 deletions
+8 -2
View File
@@ -2,7 +2,13 @@
## Using Docker (or one-click deployment based on Docker)
Please execute in the `docker/docker-compose.yaml` directory:
Please execute in the directory you cloned LangBot:
```bash
git pull
```
Please execute in the `docker/` directory:
```bash
docker compose up --force-recreate --pull always -d
@@ -11,7 +17,7 @@ docker compose up --force-recreate --pull always -d
This command will pull the latest LangBot image and rebuild the container.
:::info
4.3.0 version changed the content and location of the `docker-compose.yaml` file, please [redploy according to the documentation](/en/deploy/langbot/docker).
4.3.0 version changed the content and location of the `docker-compose.yaml` file, if you updated from a previous version, please [redploy according to the documentation](/en/deploy/langbot/docker).
:::
## Manual Deployment
+8 -2
View File
@@ -2,7 +2,13 @@
## 使用 Docker(或基于 Docker 的一键部署)
请在 `docker/docker-compose.yaml` 目录下执行:
请在之前 Clone 的 LangBot 目录下执行:
```bash
git pull
```
并在 `docker/` 目录下执行:
```bash
docker compose up --force-recreate --pull always -d
@@ -11,7 +17,7 @@ docker compose up --force-recreate --pull always -d
此命令将拉取最新的 LangBot 镜像并重建容器。
:::info
4.3.0 版本更改了 `docker/docker-compose.yaml` 文件的内容和位置,请[根据文档重新部署](/zh/deploy/langbot/docker)。
4.3.0 版本更改了 `docker/docker-compose.yaml` 文件的内容和位置,若您由之前版本更新而来,请[根据文档重新部署](/zh/deploy/langbot/docker)。
:::
## 手动部署