1022
This commit is contained in:
22
fastgpt/.env
Normal file
22
fastgpt/.env
Normal file
@@ -0,0 +1,22 @@
|
||||
# PostgreSQL 配置
|
||||
POSTGRES_PASSWORD=fastgpt_password
|
||||
|
||||
# MongoDB 配置
|
||||
MONGO_USERNAME=root
|
||||
MONGO_PASSWORD=fastgpt_mongo_password
|
||||
|
||||
# OpenAI API 配置(必需)
|
||||
OPENAI_API_KEY=sk-fake_key_for_local_testing_only
|
||||
OPENAI_BASE_URL=https://api.openai.com/v1
|
||||
|
||||
# 安全配置
|
||||
JWT_SECRET=your_jwt_secret_key_here_please_change_in_production
|
||||
APIKEY=your_api_key_here_please_change_in_production
|
||||
FILE_TOKEN_KEY=your_file_token_key_here_please_change_in_production
|
||||
|
||||
# 系统配置
|
||||
VECTOR_MAX_PROCESS=10
|
||||
QA_MAX_PROCESS=10
|
||||
|
||||
# 默认管理员账号(首次登录使用)
|
||||
DEFAULT_ROOT_PSW=admin123
|
||||
Reference in New Issue
Block a user