doc: add comment for cn mainland network

This commit is contained in:
Junyan Qin
2025-06-02 21:58:27 +08:00
parent 2c118099dc
commit 5a3527bf0f
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ docker compose up
```
:::info
如果你的主机位于中国大陆,可以考虑把 `docker-compose.yaml` 文件中的镜像名称改为`docker.langbot.app/langbot-public/rockchin/langbot:latest`以使用我们提供的镜像源。
- 如果你的主机位于中国大陆,可以考虑把 `docker-compose.yaml` 文件中的镜像名称改为`docker.langbot.app/langbot-public/rockchin/langbot:latest`以使用我们提供的镜像源。
- 推荐[设置 Docker 容器代理](https://yeasy.gitbook.io/docker_practice/advanced_network/http_https_proxy),以便保证 LangBot 在运行期间的网络访问通畅。
:::
首次启动会输出创建配置文件的提示,请继续按照文件配置。
+5
View File
@@ -80,3 +80,8 @@ uv run main.py
```
接下来可以使用 Ctrl+C 退出程序,继续查看[部署机器人](/zh/deploy/platforms/readme)页。
:::info
LangBot 在每次启动时会检查所有插件的依赖以便确保所有插件都能正常运行。
如果由于网络问题导致 LangBot 无法正常检查依赖,可以提供`--skip-plugin-deps-check`参数跳过检查,并自行安装插件依赖:命令行切换目录到`plugins`目录下的每个子文件夹(若已安装插件),然后使用`uv sync`安装依赖。
:::