api-server/.env.example
WangDL 6db19c8ac8
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 59s
fix: COS region changed from ap-guangzhou to ap-beijing
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-19 16:35:04 +08:00

35 lines
750 B
Plaintext

PORT=3000
NODE_ENV=development
DATABASE_URL="mysql://zhixi_user:Zhixi%402026%21App@localhost:3306/zhixi"
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
AI_PROVIDER=mock
AI_API_KEY=
AI_BASE_URL=
JWT_SECRET=change_me_in_production
JWT_EXPIRES_IN=1h
JWT_REFRESH_EXPIRES_IN=7d
APPLE_BUNDLE_ID=cloud.longde.AIStudyApp
APPLE_ISSUER=https://appleid.apple.com
APPLE_JWKS_URL=https://appleid.apple.com/auth/keys
ENABLE_SWAGGER=true
SWAGGER_USER=admin
SWAGGER_PASSWORD=change_me
STORAGE_DRIVER=local
STORAGE_LOCAL_PATH=./uploads
STORAGE_COS_SECRET_ID=your-cos-secret-id
STORAGE_COS_SECRET_KEY=your-cos-secret-key
STORAGE_COS_BUCKET=your-bucket-name-appid
STORAGE_COS_REGION=ap-beijing
STORAGE_COS_DOMAIN=your-custom-domain.example.com