-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
57 lines (47 loc) · 1.97 KB
/
.env.example
File metadata and controls
57 lines (47 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# =============================================================================
# 项目统一环境变量配置
# 复制此文件为 .env 并修改相应的值
# =============================================================================
# =============================================================================
# 项目基础配置 (所有服务共享)
# =============================================================================
ENVIRONMENT=development
DEBUG=true
# =============================================================================
# 日志配置 (所有服务共享)
# =============================================================================
LOG_LEVEL=INFO
# =============================================================================
# Backend API 服务配置
# =============================================================================
APP_NAME=FastAPI Backend
APP_VERSION=1.0.0
APP_DESCRIPTION=FastAPI Backend with JWT Auth
# 安全配置 - 请务必修改为强密码
SECRET_KEY=your-secret-key-here-change-in-production-please-use-a-long-random-string
# JWT 认证配置
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# CORS 配置
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080
# =============================================================================
# 数据库配置
# =============================================================================
DATABASE_URL=postgresql://user:password@localhost:5432/dbname
DATABASE_POOL_SIZE=5
DATABASE_MAX_OVERFLOW=10
DATABASE_ECHO=false
# =============================================================================
# Workflow Engine 配置 (包含 LLM 配置)
# =============================================================================
# AI/LLM 配置
OPENAI_API_KEY=sk-your-openai-api-key-here
LLM_PROVIDER=openai
LLM_MODEL_NAME=gpt-3.5-turbo
LLM_TEMPERATURE=0.7
LLM_MAX_TOKENS=1000
LLM_REQUEST_TIMEOUT=60
API_BASE=https://aiproxy.usw.sealos.io/v1
# 工作流引擎配置
MAX_CONCURRENT=5
TIMEOUT=300