ubuntu安装RAGFlow

12 2~3 min

1、前提条件

安装了docker及docker compose,参考ubuntu安装docker篇

2、克隆项目

git clone https://github.com/infiniflow/ragflow.git

3、启动项目

cd ragflow/docker
docker compose -f docker-compose.yml up -d

服务器启动成功后再次确认服务器状态:

docker logs -f ragflow-server

出现以下界面提示说明服务器启动成功:

     ____   ___    ______ ______ __
    / __ \ /   |  / ____// ____// /____  _      __
   / /_/ // /| | / / __ / /_   / // __ \| | /| / /
  / _, _// ___ |/ /_/ // __/  / // /_/ /| |/ |/ /
 /_/ |_|/_/  |_|\____//_/    /_/ \____/ |__/|__/

 * Running on all addresses (0.0.0.0)

如果你遇到 Docker 镜像拉不下来的问题,可以在 docker/.env 文件内根据变量 RAGFLOW_IMAGE 的注释提示选择华为云或者阿里云的相应镜像。

  • 华为云镜像名:swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow

  • 阿里云镜像名:registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow


0