NorthFlank 部署 LibreChat 教程

Reno 于 2025-03-17 发布

北方云(Northflank)的 Developer Sandbox 计划支持绑卡后免费创建最多1个项目,2个服务、2个任务以及1个数据库,注意月预估费用超过20刀后实例无法新建或使用,官方也不建议使用该计划部署生产服务,若有需要建议开通付费服务,支持 Pay as you go

注册账号

点击 这里 注册 Northflank 并参考 官方文档 创建项目,注意选择 Developer Sandbox (免费计划)

绑定域名

点击右上角 + Create newDomain

开始搭建

下面是搭建框架的简单说明

+------------+        +------------+        +------------+
|            |        |            |        |            |
| LibreChat  | <----> |    RAG     | <----> |  Vector DB |
|  Service   |        |   Service  |        |            |
+------------+        +------------+        +------------+
        ^                    ^
        |                    | 
		|					 v
        |              +------------+
        |              |            |
        +------------> |  MongoDB   |
                       |            |
                       +------------+

创建VectorDB

点击右上角 + Create newAddon

添加拓展后在 Settings 取消勾选 publicly accessible

创建MongoDB

点击 这里 注册 MongoDB 并创建项目,免费计划支持最高512M存储,具体使用限制可查看 限制页,如果需要开通付费服务可查看 定价页

具体操作可参考 https://linux.do/t/topic/96509#p-657221-mongodb-5

创建 MongoExpress

点击右上角 + Create newService

创建RAG

点击右上角 + Create newService

创建LibreChat

点击右上角 + Create newService

创建存储

点击右上角 + Create newVolumes

参考链接