mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
调整.env.template关于mongodb的说明,使得更易于理解 (#2398)
This commit is contained in:
@@ -16,7 +16,7 @@ OPENAI_BASE_URL=https://api.openai.com/v1
|
||||
# 通用key。可以是 openai 的也可以是 oneapi 的。
|
||||
# 此处逻辑:优先走 ONEAPI_URL,如果填写了 ONEAPI_URL,key 也需要是 ONEAPI 的 key
|
||||
CHAT_API_KEY=sk-xxxx
|
||||
# mongo 数据库连接参数,本地开发时,mongo可能需要增加 directConnection=true 参数,才能连接上。
|
||||
# mongo 数据库连接参数,本地开发连接远程数据库时,可能需要增加 directConnection=true 参数,才能连接上。
|
||||
MONGODB_URI=mongodb://username:password@0.0.0.0:27017/fastgpt?authSource=admin
|
||||
|
||||
# 向量库优先级: pg > milvus
|
||||
@@ -35,4 +35,4 @@ HOME_URL=/
|
||||
# 日志等级: debug, info, warn, error
|
||||
LOG_LEVEL=debug
|
||||
STORE_LOG_LEVEL=warn
|
||||
# Loki Log Path
|
||||
# Loki Log Path
|
||||
|
Reference in New Issue
Block a user