6 Commits
Author SHA1 Message Date
thedarty 00a70aa488 Change notification method 2025-03-13 09:14:39 +01:00
thedarty 88ef8e5620 Change notification method 2025-03-13 09:12:55 +01:00
thedarty 744845d53e Configure and enable notification 2025-03-12 19:18:15 +01:00
thedarty dce20ed4b6 Configure and enable notification 2025-03-12 19:17:22 +01:00
thedarty 08b544f631 Configure and enable notification 2025-03-12 19:08:03 +01:00
thedarty d5fb661157 Dev Linux version 2024-12-26 17:19:12 +01:00
+6 -3
View File
@@ -12,7 +12,7 @@ services:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
environment: environment:
TZ: Europe/Bucharest TZ: Europe/Paris
WATCHTOWER_CLEANUP: true # Remove old images after updating WATCHTOWER_CLEANUP: true # Remove old images after updating
WATCHTOWER_REMOVE_VOLUMES: false # Remove attached volumes after updating WATCHTOWER_REMOVE_VOLUMES: false # Remove attached volumes after updating
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 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
@@ -20,7 +20,10 @@ services:
WATCHTOWER_INCLUDE_STOPPED: false # Update stopped containers WATCHTOWER_INCLUDE_STOPPED: false # Update stopped containers
WATCHTOWER_SCHEDULE: "0 0 */2 * * *" # Update & Scan containers every 2 hours WATCHTOWER_SCHEDULE: "0 0 */2 * * *" # Update & Scan containers every 2 hours
WATCHTOWER_LABEL_ENABLE: false WATCHTOWER_LABEL_ENABLE: false
WATCHTOWER_ROLLING_RESTART: true WATCHTOWER_MONITOR_ONLY: true
WATCHTOWER_TIMEOUT: 30s WATCHTOWER_TIMEOUT: 30s
WATCHTOWER_LOG_FORMAT: pretty WATCHTOWER_LOG_FORMAT: pretty
restart: on-failure:5 WATCHTOWER_NOTIFICATIONS: shoutrrr
WATCHTOWER_NOTIFICATIONS_LEVEL: debug
WATCHTOWER_NOTIFICATION_URL: smtp://:@mail.serveur:25/?auth=None&encryption=None&fromaddress=diun@sda.zone&fromname=Watchtower&starttls=Yes&subject=Watchtower updates&toaddresses=thedarty@gmail.com&usehtml=No
restart: always