Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9bba51b8f4 | ||
|
|
cc533dfd82 | ||
|
|
9996f2657a | ||
|
|
24c055796b | ||
|
|
24a1b342c8 | ||
|
|
f74604a721 | ||
|
|
c8f671807a | ||
|
|
2cad9ae7f4 | ||
|
|
4fdbdf3266 | ||
|
|
66cbd6ea01 | ||
|
|
8488054b7f | ||
|
|
935bf20e20 | ||
|
|
a1ebdd03b9 | ||
|
|
610d0fba12 | ||
|
|
a3f4e43550 |
+5
-7
@@ -1,8 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
watchtower:
|
watchtower:
|
||||||
image: containrrr/watchtower:latest
|
image: containrrr/watchtower:latest
|
||||||
container_name: WatchTower
|
container_name: watchtower
|
||||||
hostname: Docker_${HOSTNAME}
|
hostname: watchtower
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
mem_reservation: 128m
|
mem_reservation: 128m
|
||||||
cpu_shares: 512
|
cpu_shares: 512
|
||||||
@@ -15,16 +15,14 @@ services:
|
|||||||
TZ: Europe/Paris
|
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.43 # 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_RESTARTING: true # Restart containers after update
|
||||||
WATCHTOWER_INCLUDE_STOPPED: false # Update stopped containers
|
WATCHTOWER_INCLUDE_STOPPED: false # Update stopped containers
|
||||||
WATCHTOWER_SCHEDULE: "0 0 0 * * *" # Daily at midnight
|
WATCHTOWER_SCHEDULE: "0 0 */2 * * *" # Update & Scan containers every 2 hours
|
||||||
WATCHTOWER_LABEL_ENABLE: false
|
WATCHTOWER_LABEL_ENABLE: false
|
||||||
WATCHTOWER_MONITOR_ONLY: false
|
WATCHTOWER_MONITOR_ONLY: true
|
||||||
WATCHTOWER_TIMEOUT: 30s
|
WATCHTOWER_TIMEOUT: 30s
|
||||||
WATCHTOWER_LOG_LEVEL: info # Set log level (trace, debug, info, warn, error)
|
|
||||||
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