Ajouter watchtower.yaml.txt

This commit is contained in:
Tyleo Dv. Delaware 2025-02-09 15:34:52 +00:00
parent b99bb968c7
commit 2981a06fd8

12
watchtower.yaml.txt Normal file
View file

@ -0,0 +1,12 @@
services:
watchtower:
container_name: auto-updater
restart: always
environment:
WATCHTOWER_SCHEDULE: "0 ${cron}" # Use standard cron expression (* * * * *)
TZ: ${timezone} # Timezone, must be correct cause it affect cronjob !
WATCHTOWER_CLEANUP: "true"
WATCHTOWER_DEBUG: "true"
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock