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