APP_NAME=资产管理系统
APP_VERSION=1.0.0
APP_ENVIRONMENT=production
DEBUG=False
HOST=0.0.0.0
PORT=8001
API_V1_PREFIX=/api/v1

# 数据库配置（从服务器获取）
DATABASE_URL=postgresql+asyncpg://asset_user:PASSWORD@118.145.218.2:5433/asset_management
DATABASE_ECHO=False

# Redis配置
REDIS_URL=redis://:PASSWORD@118.145.218.2:6380/0
REDIS_MAX_CONNECTIONS=50

# JWT配置
SECRET_KEY=请生成强密钥
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=15
REFRESH_TOKEN_EXPIRE_DAYS=7

# CORS配置
CORS_ORIGINS=["https://zc.workyai.cn"]
CORS_ALLOW_CREDENTIALS=True
CORS_ALLOW_METHODS=["GET","POST","PUT","DELETE","PATCH"]
CORS_ALLOW_HEADERS=["*"]

# 文件上传配置
UPLOAD_DIR=uploads
MAX_UPLOAD_SIZE=104857600

# 日志配置
LOG_LEVEL=INFO
LOG_FILE=logs/app.log
