Wire auth verification-code delivery to Aliyun SMS with mock fallback, config validation, and a standalone SMS smoke-test script. Update deployment checklist and system status docs with required env vars and rollout notes. Made-with: Cursor
33 lines
862 B
Plaintext
33 lines
862 B
Plaintext
# Database
|
||
DATABASE_URL=postgresql://postgres:postgres123@localhost:5432/ai_clinical_research?schema=public
|
||
|
||
# Redis
|
||
REDIS_URL=redis://localhost:6379
|
||
|
||
# JWT
|
||
JWT_SECRET=your-secret-key-change-in-production
|
||
JWT_EXPIRES_IN=7d
|
||
|
||
# SMS (Auth Verification Code)
|
||
# development: mock / production: aliyun
|
||
SMS_PROVIDER=mock
|
||
SMS_ENDPOINT=dysmsapi.aliyuncs.com
|
||
SMS_SIGN_NAME=你的短信签名
|
||
SMS_TEMPLATE_CODE_LOGIN=SMS_xxx
|
||
SMS_TEMPLATE_CODE_RESET=SMS_xxx
|
||
# 阿里云凭据(AK 方式,生产建议改为 RAM 角色等无 AK 方式)
|
||
ALIBABA_CLOUD_ACCESS_KEY_ID=your-access-key-id
|
||
ALIBABA_CLOUD_ACCESS_KEY_SECRET=your-access-key-secret
|
||
|
||
# LLM API
|
||
DEEPSEEK_API_KEY=sk-7f8cc37a79fa4799860b38fc7ba2e150
|
||
DASHSCOPE_API_KEY=sk-75b4ff29a14a49e79667a331034f3298
|
||
|
||
# Dify
|
||
DIFY_API_URL=http://localhost:3000
|
||
DIFY_API_KEY=your-dify-api-key
|
||
|
||
# Server
|
||
PORT=3001
|
||
NODE_ENV=development
|