This commit is contained in:
wsl-d4
2025-10-22 09:35:58 +08:00
parent 722e15b458
commit 144ed3cbdf
9 changed files with 672 additions and 5 deletions

22
fastgpt/.env Normal file
View 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