watchtower/pkg
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
..
api test: fix metrics api test stability (#930) 2021-05-25 16:42:11 +02:00
container feat: check container config before update (#925) 2021-04-24 18:29:05 +02:00
filters feat: include additional info in startup (#809) 2021-03-28 21:04:11 +02:00
lifecycle lifecycle logs as Debug instead of Info (#610) 2020-08-08 18:40:23 +02:00
metrics fix: merge artifacts and broken shoutrrr tests (#929) 2021-04-24 15:42:31 +02:00
notifications feat: allow hostname override for notifiers (#994) 2021-06-24 00:29:20 +02:00
registry * feat: custom user agent (#990) 2021-06-11 19:23:00 +02:00
sorter refactor: extract code from the container package 2020-01-11 23:36:07 +01:00
types feat: allow hostname override for notifiers (#994) 2021-06-24 00:29:20 +02:00