Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
5545e84b
authored
Aug 16, 2024
by
何翀彬
Committed by
GitHub
Aug 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整.env.template关于mongodb的说明,使得更易于理解 (#2398)
parent
86c27e85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
projects/app/.env.template
+2
-3
No files found.
projects/app/.env.template
View file @
5545e84b
...
@@ -16,7 +16,7 @@ OPENAI_BASE_URL=https://api.openai.com/v1
...
@@ -16,7 +16,7 @@ OPENAI_BASE_URL=https://api.openai.com/v1
# 通用key。可以是 openai 的也可以是 oneapi 的。
# 通用key。可以是 openai 的也可以是 oneapi 的。
# 此处逻辑:优先走 ONEAPI_URL,如果填写了 ONEAPI_URL,key 也需要是 ONEAPI 的 key
# 此处逻辑:优先走 ONEAPI_URL,如果填写了 ONEAPI_URL,key 也需要是 ONEAPI 的 key
CHAT_API_KEY=sk-xxxx
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
MONGODB_URI=mongodb://username:password@0.0.0.0:27017/fastgpt?authSource=admin
# 向量库优先级: pg > milvus
# 向量库优先级: pg > milvus
...
@@ -35,4 +35,4 @@ HOME_URL=/
...
@@ -35,4 +35,4 @@ HOME_URL=/
# 日志等级: debug, info, warn, error
# 日志等级: debug, info, warn, error
LOG_LEVEL=debug
LOG_LEVEL=debug
STORE_LOG_LEVEL=warn
STORE_LOG_LEVEL=warn
# Loki Log Path
# Loki Log Path
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment