Compare commits
8
Commits
main
..
a3f4e43550
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3f4e43550 | ||
|
|
550ec2ba63 | ||
|
|
00a70aa488 | ||
|
|
88ef8e5620 | ||
|
|
744845d53e | ||
|
|
dce20ed4b6 | ||
|
|
08b544f631 | ||
|
|
d5fb661157 |
+13
-4
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower:latest
|
||||
container_name: WATCHTOWER
|
||||
container_name: watchtower
|
||||
hostname: watchtower
|
||||
mem_limit: 512m
|
||||
mem_reservation: 128m
|
||||
@@ -12,7 +12,7 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
environment:
|
||||
TZ: Europe/Bucharest
|
||||
TZ: Europe/Paris
|
||||
WATCHTOWER_CLEANUP: true # Remove old images 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
|
||||
@@ -20,7 +20,16 @@ services:
|
||||
WATCHTOWER_INCLUDE_STOPPED: false # Update stopped containers
|
||||
WATCHTOWER_SCHEDULE: "0 0 */2 * * *" # Update & Scan containers every 2 hours
|
||||
WATCHTOWER_LABEL_ENABLE: false
|
||||
WATCHTOWER_ROLLING_RESTART: true
|
||||
WATCHTOWER_MONITOR_ONLY: true
|
||||
WATCHTOWER_TIMEOUT: 30s
|
||||
WATCHTOWER_LOG_FORMAT: pretty
|
||||
restart: on-failure:5
|
||||
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
|
||||
restart: always
|
||||
Reference in New Issue
Block a user