linux远程部署dify和mac本地部署dify

文章目录

dify部署

远程服务器,xhell or finalshell 连接

# 本地安装

linux服务器部署

  1. 安装git and docker

    复制代码
    sudo yum install git-all

https://blog.csdn.net/Cosmoshhhyyy/article/details/136698105?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522117869e7b1a84ebb919adb0822f4b23f%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D\&request_id=117869e7b1a84ebb919adb0822f4b23f\&biz_id=0\&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1\~rank_v31_ecpm-4-136698105-null-null.nonecase\&utm_term=docker\&spm=1018.2226.3001.4450

  1. 下载开源代码

    复制代码
    sudo git clone https://github.com/langgenius/dify.git
    git clone https://gitee.com/mirrors/dify.git # 国内下的快一点
  2. docker部署

    复制代码
    cd dify/docker
    sudo docker compose up -d

直接给我服务器干爆了,看来至少要4核2g以上才能启动。

  1. 启动

输入ip:端口即可。

mac本地部署

  1. 还是下载docker

  2. 下载代码(同linux操作)

    sudo git clone https://github.com/langgenius/dify.git
    git clone https://gitee.com/mirrors/dify.git # 国内下的快一点

  3. 启动

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

  4. 浏览器输入

    复制代码
    localhost/install

    设置账户和密码即可登陆成功。

问题

  1. docker启动时下载不下来

    可以挂梯子或者配置docker镜像。

  2. iptables 问题

    重启docker试试。

相关推荐
思麟呀1 天前
Linux的基础IO流
linux·运维·服务器·开发语言·c++
winner88811 天前
嵌入式Linux驱动开发全流程:工具协作+核心概念拆解(从入门到理解)
linux·运维·驱动开发
ShiinaKaze1 天前
fatal error: bits/c++config.h: No such file or directory
linux·gcc·g++
TTBIGDATA1 天前
【Ambari开启Kerberos】KERBEROS SERVICE CHECK 报错
大数据·运维·hadoop·ambari·cdh·bigtop·ttbigdata
Archy_Wang_11 天前
脚本自动生成专业Linux巡检报告
linux·运维·服务器
java_logo1 天前
SGLANG Docker容器化部署指南
linux·运维·docker·容器·eureka·1024程序员节
Qayrup1 天前
各个系统的 docker安装
运维·docker·容器
上去我就QWER1 天前
macOS下如何全文检索epub格式文件?
macos
敲代码的瓦龙1 天前
操作系统?进程!!!
linux·c++·操作系统
打不了嗝 ᥬ᭄1 天前
数据链路层
linux·网络·网络协议·http