Notificaciones SMTP: variables en compose, ejemplo en .env y README

This commit is contained in:
2025-11-30 12:27:44 +01:00
parent 31b99fa80d
commit 0c9440feb8
3 changed files with 31 additions and 3 deletions

View File

@@ -1,6 +1,18 @@
TZ=Europe/Madrid
WATCHTOWER_CLEANUP=true
WATCHTOWER_INCLUDE_STOPPED=false
WATCHTOWER_SCHEDULE=0 0 3 * * *
# WATCHTOWER_NOTIFICATIONS=shoutrrr
# WATCHTOWER_NOTIFICATION_URL=telegram://TOKEN@CHATID
WATCHTOWER_SCHEDULE=0 30 3 * * *
# Notificaciones (Shoutrrr)
# Activar notificaciones vía Shoutrrr (SMTP, Telegram, Slack, etc.)
WATCHTOWER_NOTIFICATIONS=shoutrrr
# SMTP (ejemplo)
# Formato general Shoutrrr SMTP:
# smtp://USUARIO:PASS@SMTP_HOST:587/?from=watchtower@midominio.com&to=ops@midominio.com&subject=Watchtower%20Actualizaciones&starttls=Yes
# Nota: Escapa caracteres especiales en usuario/password si es necesario.
WATCHTOWER_NOTIFICATION_URL=smtp://USUARIO:PASS@smtp.example.com:587/?from=watchtower@midominio.com&to=ops@midominio.com&subject=Watchtower%20Actualizaciones&starttls=Yes
# Opcional: nivel y reporte final
WATCHTOWER_NOTIFIER_LEVEL=info
WATCHTOWER_NOTIFICATIONS_REPORT=true