dify相关文档

在线体验:https://dify.ai/

开源地址:https://github.com/langgenius/dify

官方文档:https://docs.dify.ai/v/zh-hans

2. Dify 私有化部署

参考文档:https://docs.dify.ai/v/zh-hans/getting-started/install-self-hosted/docker-compose

首先,克隆 Dify 源代码至本地,然后进入 docker 目录,复制一份环境变量,采用默认端口,一键启动:

git clone https://github.com/langgenius/dify.git
cd dify/docker
cp .env.example .env
docker compose up -d

启动成功后,你会发现共有 9 个容器:包括 3 个业务服务 api / worker / web,以及 6 个基础组件 weaviate / db / redis / nginx / ssrf_proxy / sandbox。

posted @ 2024-09-11 15:11  青山下  阅读(28)  评论(0编辑  收藏  举报