diff --git a/docker-compose.yml b/docker-compose.yml index 45216dc..ae142f9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file