9 Commits
Author SHA1 Message Date
thedarty 6fd94d258c Change Schedule to run once a day at 0:00
Update Container
2025-11-10 16:37:33 +01:00
thedarty bdf8ea0dff Change Schedule to run once a week at 0:00 between saturday and sunday 2025-04-21 11:18:32 +02:00
thedarty 3cc54f7389 Add hostname based on $Hostname value 2025-03-30 15:44:43 +02:00
thedarty adb437d036 Change template notif 2025-03-30 15:33:48 +02:00
thedarty 2b5176f487 Change template notif 2025-03-30 15:26:56 +02:00
thedarty 6bdfed2d4d Change template notif 2025-03-30 15:20:19 +02:00
thedarty 7367fff4c0 Add hostname in notifications 2025-03-30 14:48:11 +02:00
thedarty 5ccafef579 Set version for engine 26 2025-03-13 17:28:37 +01:00
thedarty 59a792e06a Set version for engine 24 2025-03-13 17:27:33 +01:00
+8 -13
View File
@@ -1,8 +1,8 @@
services:
watchtower:
image: containrrr/watchtower:latest
container_name: WATCHTOWER
hostname: watchtower
container_name: WatchTower
hostname: Docker_${HOSTNAME}
mem_limit: 512m
mem_reservation: 128m
cpu_shares: 512
@@ -18,18 +18,13 @@ services:
DOCKER_API_VERSION: 1.45 # SSH docker version 1.41 for Docker engine version 20.10 - 1.43 for Docker engine version 24 - 1.45 for Docker engine version 26.1
WATCHTOWER_INCLUDE_RESTARTING: true # Restart containers after update
WATCHTOWER_INCLUDE_STOPPED: false # Update stopped containers
WATCHTOWER_SCHEDULE: "0 0 */2 * * *" # Update & Scan containers every 2 hours
WATCHTOWER_SCHEDULE: "0 0 0 * * *" # Daily at midnight
WATCHTOWER_LABEL_ENABLE: false
WATCHTOWER_MONITOR_ONLY: true
WATCHTOWER_MONITOR_ONLY: false
WATCHTOWER_TIMEOUT: 30s
WATCHTOWER_LOG_LEVEL: info # Set log level (trace, debug, info, warn, error)
WATCHTOWER_LOG_FORMAT: pretty
WATCHTOWER_NOTIFICATIONS: email
WATCHTOWER_NOTIFICATION_EMAIL_FROM: diun@sda.zone
WATCHTOWER_NOTIFICATION_EMAIL_TO: thedarty@gmail.com
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: mail.serveur
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_TLS_SKIP_VERIFY: false
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 25
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: diun@sda.zone
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: sda101176
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 2
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