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
相关推荐
vpk11216 小时前
Docker Compose 安装 Redis
redis·docker·容器
星纬智联技术16 小时前
GEO E2E 自动化验证测试文章
运维·自动化·geo
jarreyer16 小时前
CentOS 7 无法使用 yum 安装软件
linux·运维·centos
脆皮的饭桶17 小时前
结合使用,实现IPVS的高可用性、利用VRRP Script 实现全能高可用
运维·服务器·网络
last demo18 小时前
Docker-compose和图形界面管理
docker·容器·eureka
RisunJan18 小时前
Linux命令-md5sum(计算和校验文件报文摘要的工具程序)
linux·运维
抹茶咖啡18 小时前
IT运维的365天--042 骚操作之--用IPSec给远程桌面上把锁
运维·网络·it运维
王琦031818 小时前
第三章 linux文件类型和根目录结构
linux·运维·服务器
minji...18 小时前
Linux 文件系统 (三) 软连接和硬链接
linux·运维·服务器·c++·算法
好像不对劲19 小时前
【docker】win10 wsl docker不能挂GPU
运维·docker·容器·wsl