Skip to content
Discussion options

You must be logged in to vote

Hi @liHai001! I'm Dosu and I’m helping the lobe-chat team.

你可以不用在线安装脚本,直接通过 Docker 部署 Lobe Chat。在仓库里有现成的 Dockerfile 和 docker-compose 文件,支持私有化和内网环境部署。只需 git clone 代码仓库,然后用 docker-compose 启动即可,相关依赖(如 PostgreSQL、MinIO、Casdoor 等)都已在 compose 文件中配置好,适合一键部署。Dockerfile 还支持 USE_CN_MIRROR 参数,方便在国内或有网络限制的环境下构建镜像,减少依赖拉取失败的问题。

参考配置和服务定义可以在这里查看:docker-compose/local/docker-compose.yml
Docker 构建细节见:Dockerfile

如需在内网环境部署,推荐直接拉取代码仓库,按 compose 文件说明配置好 .env 后执行 docker-compose up -d 即可。

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@liHai001
Comment options

Answer selected by liHai001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant