Dify平台部署全记录

安装dify项目

官网地址:http://difyai.com/
github地址:https://github.com/langgenius/dify

下载项目:

git clone https://github.com/langgenius/dify.git

下载过慢,直接访问网页下载zip压缩包:
在这里插入图片描述
解压,项目包改名dify

安装dify的docker环境

按照github的方式下载docker

cd dify
cd docker
cp .env.example .env
docker compose up -d

在执行docker compose up -d时,无法成功下载。
需要调整docker的源

vim /etc/docker/daemon.json

然后增加地址:

{
 "registry-mirrors": ["https://docker.registry.cyou",
"https://docker-cf.registry.cyou",
"https://dockercf.jsdelivr.fyi",
"https://docker.jsdelivr.fyi",
"https://dockertest.jsdelivr.fyi",
"https://mirror.aliyuncs.com",
"https://dockerproxy.com",
"https://mirror.baidubce.com",
"https://docker.m.daocloud.io",
"https://docker.nju.edu.cn",
"https://docker.mirrors.sjtug.sjtu.edu.cn",
"https://docker.mirrors.ustc.edu.cn",
"https://mirror.iscas.ac.cn",
"https://docker.rainbond.cc"]
}

保存后重启docker服务

systemctl restart docker

再执行下载docker,可以成功
在这里插入图片描述

登录dify页面

注册管理员账号即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值