22 lines
614 B
Bash
22 lines
614 B
Bash
# Server
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# JWT
|
|
JWT_SECRET=dev-secret-key-do-not-use-in-production
|
|
JWT_EXPIRES_IN=7d
|
|
JWT_REFRESH_EXPIRES_IN=30d
|
|
|
|
# Database (SQLite for local development, PostgreSQL for production)
|
|
DATABASE_URL=E:/qia/server/prisma/dev.db
|
|
|
|
# PostgreSQL (for production - Tencent Cloud)
|
|
# DATABASE_URL=postgresql://qia_admin:your-password@postgres.ap-shanghai.myqcloud.com:5432/qia
|
|
|
|
# DeepSeek AI
|
|
DEEPSEEK_API_KEY=sk-7e34702637f74020b62cdd62d3f48559
|
|
DEEPSEEK_API_URL=https://api.deepseek.com/chat/completions
|
|
|
|
# CORS (支持多个开发端口)
|
|
CORS_ORIGIN=http://localhost:5173,http://localhost:5174
|