Files
nas-tools/watchtower/.env.example
T
Gan, Jimmy 5a95010f35 fix: route watchtower SMTP through SSH tunnel to bypass GFW
- Switch to shoutrrr notification URL format
- Use extra_hosts to resolve smtp.gmail.com to local tunnel (192.168.31.222:1587)
- Add URL-encoded SMTP credentials for shoutrrr URL compatibility
- SSH tunnel: NAS:1587 -> server2 -> smtp.gmail.com:587
2026-03-01 01:07:47 +08:00

7 lines
216 B
Bash

SMTP_FROM=your-email@gmail.com
SMTP_TO=your-email@gmail.com
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-gmail-app-password
SMTP_USER_ENCODED=your-email%40gmail.com
SMTP_PASSWORD_ENCODED=your-gmail-app-password