You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
watchtower/pkg/notifications
Amir Zarrinkafsh dc12a1ac7f
feat: allow hostname override for notifiers (#994)
* feat: allow hostname override for email notifier

As it currently stands all notifiers utilise `os.Hostname` to populate their titles/subjects.

When utilising Docker with a bridged network if you set the hostname for a container to an external DNS hostname Docker's internal DNS resolver will override said hostname for all containers within the bridged network.

This change allows a user to specify what hostname should be represented in the email notifications without having to change the `os.Hostname`.

* feat: allow custom hostname for all notifiers

* docs: adjust notification hostname flag
3 years ago
..
email.go feat: allow hostname override for notifiers (#994) 3 years ago
gotify.go feat: allow hostname override for notifiers (#994) 3 years ago
msteams.go feat: allow hostname override for notifiers (#994) 3 years ago
notifier.go feat: allow hostname override for notifiers (#994) 3 years ago
notifier_test.go feat: allow hostname override for notifiers (#994) 3 years ago
shoutrrr.go feat: update shoutrrr to v0.4.4 (#914) 4 years ago
shoutrrr_test.go Revert "feat(config): swap viper and cobra for config (#684)" 4 years ago
slack.go feat: allow hostname override for notifiers (#994) 3 years ago
smtp.go refactor: move actions into internal 5 years ago
util.go refactor: move actions into internal 5 years ago