Dify平台离线镜像部署

Dify 是一款开源的大语言模型(LLM) 应用开发平台。它融合了后端即服务(Backend as Service)和 LLMOps 的理念,使开发者可以快速搭建生产级的生成式 AI 应用。即使你是非技术人员,也能参与到 AI 应用的定义和数据运营过程中。

前提条件

安装 Dify 之前, 请确保你的机器已满足最低安装要求:

  • CPU >= 2 Core

  • RAM >= 4 GiB

  • Docker 19.03 or later 和 Docker Compose 1.28 or later

克隆 Dify 源代码至本地环境。

bash 复制代码
# 假设当前最新版本为 0.15.3
git clone https://github.com/langgenius/dify.git --branch 0.15.3
下载镜像包

下载地址:百度网盘夸克网盘

bash 复制代码
# 上传下载好的镜像到/opt/,解压
gunzip  /opt/all_images.tar.gz

# 导入镜像
docker load < /op/all_images.tar

# 查看导入镜像
docker images 

REPOSITORY                      TAG           IMAGE ID       CREATED         SIZE
ubuntu/squid                    latest        dae40da440fe   2 weeks ago     243MB
postgres                        15-alpine     afbf3abf6aeb   2 weeks ago     273MB
langgenius/dify-plugin-daemon   0.0.2-local   2df4860e4330   4 weeks ago     902MB
langgenius/dify-web             0.15.3        f0fae584255f   5 weeks ago     436MB
langgenius/dify-api             0.15.3        e05373163e63   5 weeks ago     2.97GB
nginx                           latest        b52e0b094bc0   5 weeks ago     192MB
redis                           6-alpine      6dd588768b9b   2 months ago    30.2MB
langgenius/dify-sandbox         0.2.10        4328059557e8   5 months ago    567MB
semitechnologies/weaviate       1.19.0        8ec9f084ab23   22 months ago   52.5MB
启动dify
bash 复制代码
# 拉取dify
git clone https://github.com/langgenius/dify.git --branch 0.15.3

# 进入docker目录
cd dify-main/docker/

# 复制环境配置文件
cp .env.example .env

# 启动容器
docker-compose up -d
访问 Dify

本地环境

http://localhost/install

服务器环境

http://your_server_ip/install

官方文档:Docker Compose 部署 | Dify
相关推荐
Danileaf_Guo1 小时前
256台H100服务器算力中心的带外管理网络建设方案
运维·服务器
拾贰_C3 小时前
【Linux | Windows | Terminal Command】 Linux---grep | Windows--- findstr
linux·运维·服务器
bloglin999993 小时前
启动容器报错ls: cannot access ‘/docker-entrypoint-initdb.d/‘: Operation not permitted
docker·容器·eureka
songjxin4 小时前
离线部署kubernetes v1.34.3
云原生·容器·kubernetes
虹科网络安全4 小时前
艾体宝洞察 | 利用“隐形字符”的钓鱼邮件:传统防御为何失效,AI安全意识培训如何补上最后一道防线
运维·网络·安全
石像鬼₧魂石4 小时前
Kali Linux 网络端口深度扫描
linux·运维·网络
alengan5 小时前
linux上面写python3日志服务器
linux·运维·服务器
yBmZlQzJ5 小时前
免费内网穿透-端口转发配置介绍
运维·经验分享·docker·容器·1024程序员节
JH30735 小时前
docker 新手入门:10分钟搞定基础使用
运维·docker·容器
小卒过河01046 小时前
使用apache nifi 从数据库文件表路径拉取远程文件至远程服务器目的地址
运维·服务器·数据库