feat: expand traffic alerts to discord/telegram
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s

This commit is contained in:
OG T
2026-06-07 16:23:22 +08:00
parent 309b5aa1ec
commit 54608a3376
2 changed files with 86 additions and 14 deletions

View File

@@ -25,6 +25,11 @@ API_KEY="your-secure-mcp-key"
GITHUB_TOKEN="github_pat_..."
# 監控告警:外部導流/外部操作事件 webhook可留空
VIBEWORK_TRAFFIC_WEBHOOK_URL="https://your-webhook"
# 直接推送到 Discord可留空
DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/xxx"
# Telegram 告警(可留空)
TELEGRAM_BOT_TOKEN="123456:abcdef"
TELEGRAM_CHAT_ID="-1001234567890"
# optional只允許有 token 的 /api/traffic 查詢
TRAFFIC_MONITOR_TOKEN="your-monitor-token"
# optionalScout 掃描參數