1022
This commit is contained in:
29
fastgpt/.env.example
Normal file
29
fastgpt/.env.example
Normal file
@@ -0,0 +1,29 @@
|
||||
# PostgreSQL 配置
|
||||
POSTGRES_PASSWORD=your_postgres_password_here
|
||||
|
||||
# MongoDB 配置
|
||||
MONGO_USERNAME=root
|
||||
MONGO_PASSWORD=your_mongo_password_here
|
||||
|
||||
# OpenAI API 配置(必需)
|
||||
OPENAI_API_KEY=your_openai_api_key_here
|
||||
OPENAI_BASE_URL=https://api.openai.com/v1
|
||||
|
||||
# Claude API 配置(可选)
|
||||
CLAUDE_API_KEY=your_claude_api_key_here
|
||||
CLAUDE_BASE_URL=https://api.anthropic.com
|
||||
|
||||
# 安全配置
|
||||
JWT_SECRET=your_jwt_secret_here_32_chars_min
|
||||
APIKEY=your_api_key_here
|
||||
FILE_TOKEN_KEY=your_file_token_key_here
|
||||
SESSION_SECRET=your_session_secret_here
|
||||
|
||||
# 系统配置
|
||||
SHARE_USER_ID=
|
||||
SUB_PLANS=
|
||||
VECTOR_MAX_PROCESS=10
|
||||
QA_MAX_PROCESS=10
|
||||
|
||||
# 默认管理员账号(首次登录使用)
|
||||
DEFAULT_ROOT_PSW=your_admin_password_here
|
||||
Reference in New Issue
Block a user