前言
经过
Centos8安装docker-compose-CSDN博客
两篇文章的铺垫,可以正式在mac m芯片系列的电脑上使用docker安装项目了
什么是FastGpt
FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,提供开箱即用的数据处理、模型调用等能力。同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的问答场景
详细可查看FastGpt官方文档:https://doc.fastgpt.run/docs/intro/
安装
推荐配置

创建目录并下载 docker-compose.yml
mkdir fastgpt
cd fastgpt
curl -O https://raw.githubusercontent.com/labring/FastGPT/main/files/deploy/fastgpt/docker-compose.yml
curl -O https://raw.githubusercontent.com/labring/FastGPT/main/projects/app/data/config.json
修改**docker-compose.yml文件
**
修改mongo版本

修改为自己的oneapi地址和key

由于我自己已部署oneapi,所以这里删除了文件中原有的oneapi配置

将图中这部分数据删除
有关one-api如何配置,会专门写一篇文章进行介绍
启动
docker-compose up -d
看到以下信息表示启动成功

浏览器输入地址:http://localhost:3000/
使用docker-compose.yml配置的默认密码登录即可
