health-monitor.env.example 749 B

12345678910111213141516171819202122
  1. # health-monitor.env — QQ 邮箱 SMTP 凭证
  2. #
  3. # ⚠️ 必须 chmod 600,只能 root 读写
  4. # ⚠️ 不要 commit 到 git(.gitignore 已忽略 *.env)
  5. #
  6. # 获取 QQ 邮箱授权码:
  7. # 1. 网页登录 https://mail.qq.com
  8. # 2. 设置 → 账户 → 找到 POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV服务
  9. # 3. 开启 SMTP 服务(手机短信验证)
  10. # 4. 复制"授权码"(16位字符串,**不是你的 QQ 密码**)
  11. QQ_USER=f1f3@qq.com
  12. QQ_AUTH_CODE=把你的QQ授权码填这里
  13. # 可选:覆盖默认(一般不用改)
  14. # HEALTH_URL=http://127.0.0.1:3100/health
  15. # API_URL=http://127.0.0.1:3100/api/navigation/config
  16. # SMTP_HOST=smtp.qq.com
  17. # SMTP_PORT=465
  18. # MAIL_FROM=$QQ_USER
  19. # CONSEC_FAIL_THRESHOLD=2
  20. # ALERT_COOLDOWN_SEC=1800