43 lines
882 B
YAML
43 lines
882 B
YAML
# 預設:不需 Docker 即可啟動(僅 health API)
|
||
# 完整開發(Mongo + Redis + Notification):複製 gateway.dev.yaml 或 make run-dev
|
||
# 欄位說明:etc/README.md
|
||
|
||
Name: gateway
|
||
Host: 0.0.0.0
|
||
Port: 8888
|
||
|
||
# Mongo 整段註解 = 不連線(Notifier 不注入)
|
||
# Mongo:
|
||
# Host: 127.0.0.1
|
||
# Port: 27017
|
||
# Database: gateway
|
||
|
||
# Redis 留空 Host = 不連線;要 Notification 異步 / Member OTP 請用 gateway.dev.yaml
|
||
Redis:
|
||
Host: ""
|
||
Type: node
|
||
|
||
Notification:
|
||
DefaultLocale: zh-tw
|
||
Email:
|
||
Provider: mock
|
||
From: noreply@example.com
|
||
SMS:
|
||
Provider: mock
|
||
Async:
|
||
QueueRedisKey: notification:queue
|
||
Worker: 2
|
||
MaxRetry: 5
|
||
BackoffSeconds: [1, 5, 30, 300, 1800]
|
||
RatePerTenant:
|
||
Email: 100
|
||
SMS: 50
|
||
|
||
Member:
|
||
OTP:
|
||
Length: 6
|
||
TTLSeconds: 300
|
||
MaxAttempts: 5
|
||
ResendCooldownSeconds: 60
|
||
DailyVerifyLimit: 10
|