37 lines
735 B
Bash
37 lines
735 B
Bash
|
|
# Database
|
||
|
|
DATABASE_URL="file:./dev.db"
|
||
|
|
|
||
|
|
# JWT
|
||
|
|
JWT_SECRET="your-secret-key-change-in-production"
|
||
|
|
JWT_EXPIRES_IN="24h"
|
||
|
|
|
||
|
|
# Server
|
||
|
|
PORT=4000
|
||
|
|
NODE_ENV="development"
|
||
|
|
|
||
|
|
# CORS
|
||
|
|
CORS_ORIGIN="http://localhost:3000"
|
||
|
|
|
||
|
|
# OCR
|
||
|
|
OCR_PROVIDER="local"
|
||
|
|
OCR_CONFIDENCE_THRESHOLD="0.3"
|
||
|
|
|
||
|
|
# AI (GLM)
|
||
|
|
GLM_API_KEY=""
|
||
|
|
GLM_API_URL="https://open.bigmodel.cn/api/paas/v4/chat/completions"
|
||
|
|
GLM_MODEL="glm-4-flash"
|
||
|
|
|
||
|
|
# AI (MiniMax)
|
||
|
|
MINIMAX_API_KEY=""
|
||
|
|
MINIMAX_API_URL="https://api.minimax.chat/v1/chat/completions"
|
||
|
|
MINIMAX_MODEL="abab6.5s-chat"
|
||
|
|
|
||
|
|
# AI (DeepSeek)
|
||
|
|
DEEPSEEK_API_KEY=""
|
||
|
|
DEEPSEEK_API_URL="https://api.deepseek.com/v1/chat/completions"
|
||
|
|
DEEPSEEK_MODEL="deepseek-chat"
|
||
|
|
|
||
|
|
# Upload
|
||
|
|
UPLOAD_MAX_SIZE="10485760"
|
||
|
|
UPLOAD_ALLOWED_TYPES="image/jpeg,image/png,image/webp"
|