duoqi-api/.env.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

37 lines
755 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.

# Database
DATABASE_URL=mysql://root:password@localhost:3306/duoqi
# JWT
# 生成安全密钥: openssl rand -base64 32
# 或: node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"
JWT_SECRET=change-me-to-a-secure-secret
JWT_EXPIRES_IN=1h
JWT_REFRESH_EXPIRES_IN=30d
# Admin
# 生成方式同 JWT_SECRET建议与生产环境使用不同的值
ADMIN_TOKEN=change-me-admin-token
# Huawei ID Kit (Phase 1b)
HUAWEI_CLIENT_ID=
HUAWEI_CLIENT_SECRET=
# Alibaba Cloud OSS
OSS_ACCESS_KEY_ID=
OSS_ACCESS_KEY_SECRET=
OSS_BUCKET=
OSS_REGION=
# Alibaba Cloud (Phase 1e)
ALIYUN_ACCESS_KEY_ID=
ALIYUN_ACCESS_KEY_SECRET=
# Huawei IAP (Phase 1c)
HUAWEI_IAP_URL=
HUAWEI_MERCHANT_ID=
# Application
PORT=3000
NODE_ENV=development
LOG_LEVEL=info