watchtower: standardize notification title — <host>.balders.ca + Titlecase tag
Fleet-wide the WATCHTOWER_NOTIFICATIONS_HOSTNAME / _TITLE_TAG had drifted into 4 styles (FQDN, ALLCAPS, abbreviations like Dash/NC, lowercase). Standardize on HOSTNAME=<host>.balders.ca + TITLE_TAG=<Host> (capitalized Loki/DNS host label) so every Watchtower update notification reads consistently: [Mediapvr] Watchtower updates on mediapvr.balders.ca Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
bf02e45c17
commit
8c44aebf90
@@ -181,7 +181,7 @@ services:
|
||||
- WATCHTOWER_NOTIFICATION_REPORT=true
|
||||
- WATCHTOWER_NOTIFICATIONS=shoutrrr
|
||||
- WATCHTOWER_NOTIFICATION_URL={{ watchtower_gotify_url }}
|
||||
- WATCHTOWER_NOTIFICATIONS_HOSTNAME=DAWARICH
|
||||
- WATCHTOWER_NOTIFICATION_TITLE_TAG=DAWARICH
|
||||
- WATCHTOWER_NOTIFICATIONS_HOSTNAME=dawarich.balders.ca
|
||||
- WATCHTOWER_NOTIFICATION_TITLE_TAG=Dawarich
|
||||
# Render empty when nothing was updated/failed — see feedback_watchtower_pushover.
|
||||
- 'WATCHTOWER_NOTIFICATION_TEMPLATE={% raw %}{{- if .Report -}}{{- with .Report -}}{{- if or .Updated .Failed -}}{{ len .Updated }} updated, {{ len .Failed }} failed{{- range .Updated}} | updated {{.Name}}{{- end -}}{{- range .Failed}} | FAILED {{.Name}}{{- end -}}{{- end -}}{{- end -}}{{- end -}}{% endraw %}'
|
||||
|
||||
Reference in New Issue
Block a user