Add hostname in notifications
This commit is contained in:
+2
-2
@@ -1,8 +1,7 @@
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower:latest
|
||||
container_name: WATCHTOWER
|
||||
hostname: watchtower
|
||||
container_name: WatchTower
|
||||
mem_limit: 512m
|
||||
mem_reservation: 128m
|
||||
cpu_shares: 512
|
||||
@@ -24,5 +23,6 @@ services:
|
||||
WATCHTOWER_TIMEOUT: 30s
|
||||
WATCHTOWER_LOG_FORMAT: pretty
|
||||
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
|
||||
restart: always
|
||||
Reference in New Issue
Block a user