qia-server/.env
ddshi e44183e3e0 chore: 提交剩余的 server 更改
- .env: 数据库路径配置
- scripts/add-reminder-times.cjs: 批量更新提醒时间脚本

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 11:11:14 +08:00

22 lines
607 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=file:./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