第一次提交
This commit is contained in:
30
backend/env.example
Normal file
30
backend/env.example
Normal file
@@ -0,0 +1,30 @@
|
||||
# 应用配置
|
||||
APP_NAME=低代码智能体平台
|
||||
APP_VERSION=1.0.0
|
||||
DEBUG=True
|
||||
SECRET_KEY=your-secret-key-here-change-in-production
|
||||
|
||||
# 数据库配置(MySQL - 腾讯云)
|
||||
DATABASE_URL=mysql+pymysql://root:!Rjb12191@gz-cynosdbmysql-grp-d26pzce5.sql.tencentcdb.com:24936/agent_db?charset=utf8mb4
|
||||
|
||||
# Redis配置
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
|
||||
# CORS配置(多个地址用逗号分隔)
|
||||
CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000,http://localhost:8038,http://101.43.95.130:8038
|
||||
|
||||
# OpenAI配置(可选)
|
||||
OPENAI_API_KEY=your-openai-api-key
|
||||
OPENAI_BASE_URL=https://api.openai.com/v1
|
||||
|
||||
# DeepSeek配置(可选)
|
||||
DEEPSEEK_API_KEY=your-deepseek-api-key
|
||||
DEEPSEEK_BASE_URL=https://api.deepseek.com
|
||||
|
||||
# Anthropic配置(可选)
|
||||
ANTHROPIC_API_KEY=your-anthropic-api-key
|
||||
|
||||
# JWT配置
|
||||
JWT_SECRET_KEY=your-jwt-secret-key
|
||||
JWT_ALGORITHM=HS256
|
||||
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
Reference in New Issue
Block a user