# 应用配置
NODE_ENV=development
PORT=3000
API_PREFIX=/api/v1

# 数据库配置
DATABASE_URL=postgresql://futures_user:futures_pass@localhost:5432/futures_analysis?schema=public

# Redis配置
REDIS_URL=redis://localhost:6380
REDIS_PASSWORD=

# JWT配置
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
JWT_EXPIRES_IN=1h
JWT_REFRESH_EXPIRES_IN=7d

# 行情数据源配置
MARKET_DATA_PROVIDER=mock
MARKET_DATA_API_KEY=
MARKET_DATA_API_SECRET=
MARKET_DATA_WS_URL=

# OpenAI配置 (用于AI分析)
OPENAI_API_KEY=
OPENAI_BASE_URL=
OPENAI_MODEL=gpt-4-turbo-preview

# 邮件配置
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASS=
SMTP_FROM=

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

# 安全配置
CORS_ORIGIN=http://localhost:5173
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX_REQUESTS=100

# 监控配置
METRICS_ENABLED=true
METRICS_PORT=9090
