Add hostname in notifications
This commit is contained in:
+2
-2
@@ -1,8 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
watchtower:
|
watchtower:
|
||||||
image: containrrr/watchtower:latest
|
image: containrrr/watchtower:latest
|
||||||
container_name: WATCHTOWER
|
container_name: WatchTower
|
||||||
hostname: watchtower
|
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
mem_reservation: 128m
|
mem_reservation: 128m
|
||||||
cpu_shares: 512
|
cpu_shares: 512
|
||||||
@@ -24,5 +23,6 @@ services:
|
|||||||
WATCHTOWER_TIMEOUT: 30s
|
WATCHTOWER_TIMEOUT: 30s
|
||||||
WATCHTOWER_LOG_FORMAT: pretty
|
WATCHTOWER_LOG_FORMAT: pretty
|
||||||
WATCHTOWER_NOTIFICATIONS: shoutrrr
|
WATCHTOWER_NOTIFICATIONS: shoutrrr
|
||||||
|
WATCHTOWER_NOTIFICATION_TEMPLATE: {{range .}}${HOSTNAME}:{{.Message}}{{println}}{{end}}
|
||||||
WATCHTOWER_NOTIFICATION_URL: smtp://diun@sda.zone:sda101176@mail.serveur:25/?from=diun@sda.zone&to=thedarty@gmail.com&Auth=none&Encryption=ExplicitTLS&starttls=no&FromName=WatchTower&Subject=WatchTower+Updates
|
WATCHTOWER_NOTIFICATION_URL: smtp://diun@sda.zone:sda101176@mail.serveur:25/?from=diun@sda.zone&to=thedarty@gmail.com&Auth=none&Encryption=ExplicitTLS&starttls=no&FromName=WatchTower&Subject=WatchTower+Updates
|
||||||
restart: always
|
restart: always
|
||||||
Reference in New Issue
Block a user