From 2981a06fd8c1775a998739a778bda2574caf8ba8 Mon Sep 17 00:00:00 2001 From: TyleoDvDelaware3217 Date: Sun, 9 Feb 2025 15:34:52 +0000 Subject: [PATCH] Ajouter watchtower.yaml.txt --- watchtower.yaml.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 watchtower.yaml.txt diff --git a/watchtower.yaml.txt b/watchtower.yaml.txt new file mode 100644 index 0000000..31396ab --- /dev/null +++ b/watchtower.yaml.txt @@ -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 \ No newline at end of file