使用podman 容器化安装DIFY
0.前言
本文基于centos10+podman&podman compose搭建一套DIFY的运行环境,这里使用了一个非超管用户来搭建。
其中:
- DIFY版本是1.6.0版本
- CPU >= 2 Core
- RAM >= 4 GiB
- 不需要GPU

1.安装
1.1.拉取github项目
在某个目录下克隆dify在github上的项目
git clone https://github.com/langgenius/dify.git
1.2.复制env文件
cd dify/docker
cp .env.example .env
1.3.创建podman网络
podman network create dify-network
因为podman默认的网络名是podman,系统没有default这个网络,而dify中使用了该网络。


317

被折叠的 条评论
为什么被折叠?



