Files
TurboHR/backend/.env.example
T
2026-07-23 12:34:43 +08:00

22 lines
486 B
Bash

# 数据库
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/hr_compliance?schema=public
# JWT
JWT_SECRET=your-jwt-secret-change-in-production
JWT_REFRESH_SECRET=your-refresh-secret-change-in-production
# DashScope (通义千问)
DASHSCOPE_API_KEY=sk-xxx
DASHSCOPE_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# 加密
ENCRYPTION_KEY=your-32-byte-encryption-key-here
# 存储
SUPABASE_URL=
SUPABASE_KEY=
# 部署
PORT=3000
CORS_ORIGIN=http://localhost:5173