duoqi-api/.env.prod.example
Wang Zhuoxuan 0ca06df078
Some checks failed
CI/CD Pipeline / Code Quality (push) Failing after 19s
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Build & Deploy Test (push) Has been skipped
CI/CD Pipeline / Build & Deploy Production (push) Has been skipped
refactor: 移除阿里云融合认证集成,保留基础设施以备后续使用
移除 fusion-auth-client、融合认证路由和阿里云 SDK 依赖,
同时保留 findOrCreatePhone、appSettings 表、auth-providers
管理端和 /auth/providers 端点等基础设施。
2026-06-01 10:18:15 +08:00

40 lines
825 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 生产环境变量模板
# 复制为 .env.prod 使用
# Database
DATABASE_URL=mysql://duoqi_prod:prod-password@your-rds-endpoint:3306/duoqi_prod
# JWT
# 生成安全密钥: openssl rand -base64 32
# 密钥长度必须 >= 32 字符
JWT_SECRET=prod-super-secret-jwt-key-change-this
JWT_EXPIRES_IN=1h
JWT_REFRESH_EXPIRES_IN=30d
# Admin
# 生成方式同 JWT_SECRET生产环境必须使用强密钥
ADMIN_TOKEN=prod-admin-token-change-this
# Huawei ID Kit
HUAWEI_CLIENT_ID=
HUAWEI_CLIENT_SECRET=
# Alibaba Cloud OSS
OSS_ACCESS_KEY_ID=
OSS_ACCESS_KEY_SECRET=
OSS_BUCKET=duoqi-assets
OSS_REGION=oss-cn-hangzhou
# Alibaba Cloud
ALIYUN_ACCESS_KEY_ID=
ALIYUN_ACCESS_KEY_SECRET=
# Huawei IAP
HUAWEI_IAP_URL=https://subscr-drcn.iap.hicloud.com
HUAWEI_MERCHANT_ID=
# Application
PORT=3000
NODE_ENV=production
LOG_LEVEL=warn