watchtower/pkg/types
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
2021-06-24 00:29:20 +02:00
..
container.go add http head based digest comparison to avoid dockerhub rate limits 2020-12-06 13:21:04 +01:00
convertible_notifier.go feat: allow hostname override for notifiers (#994) 2021-06-24 00:29:20 +02:00
filter.go refactor: extract types and pkgs to new files 2019-07-21 19:58:19 +02:00
filterable_container.go Adds scopeUID config to enable multiple instances of Watchtower (#511) 2020-08-21 20:13:47 +02:00
notifier.go feat: include additional info in startup (#809) 2021-03-28 21:04:11 +02:00
registry_credentials.go add http head based digest comparison to avoid dockerhub rate limits 2020-12-06 13:21:04 +01:00
token_response.go add http head based digest comparison to avoid dockerhub rate limits 2020-12-06 13:21:04 +01:00
update_params.go Rolling restart (#619) 2020-08-21 22:35:46 +02:00