Monitor Only report notifications #1806
piksel
started this conversation in
Notification Templates
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The default report template does not work well with
monitor-only
, but here are some alternative ones you can use:Version that always sends a report:
Version that only sends notifications when noteworthy1 things happened:
See #1807 for an example of how to apply these templates in your
docker-compose.yaml
.Footnotes
"Noteworthy" is defined as "Any containers where
stale
(has a newer image), or checking for updates for any containers failed", but this can of course be changed by altering the{{- if ( or .Stale .Failed ) -}}
condition. Make sure to also make the same change to{{- if (and .Entries .Report (or .Report.Stale .Report.Failed)) }}
to skip thelogs:
separator text between the summary and log entries when they are not both present. ↩Beta Was this translation helpful? Give feedback.
All reactions