From 3684415ef03f7e761f8db0d58740f5ae3ba57a1a Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Mon, 8 Jan 2024 12:13:38 +0530 Subject: [PATCH] forgot to add boilerplate forf watchtower --- privfrontends/vars.yaml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/privfrontends/vars.yaml b/privfrontends/vars.yaml index 7c52156..db10022 100644 --- a/privfrontends/vars.yaml +++ b/privfrontends/vars.yaml @@ -240,14 +240,19 @@ apps: mounts: - "{{data_dir}}/teddit/redis-data:/data" watchtower: - image: containrrr/watchtower - mounts: - - "/var/run/docker.sock:/var/run/docker.sock" - environment: - TZ: Europe/Paris - WATCHTOWER_CLEANUP: false - DOCKER_API_VERSION: 1.42 - WATCHTOWER_INCLUDE_STOPPED: false - WATCHTOWER_POLL_INTERVAL: 3600 - WATCHTOWER_MONITOR_ONLY: false - WATCHTOWER_NOTIFICATION_URL: "matrix://{{watchtower_mtrx_username}}:{{watchtower_mtrx_pass}}@matrix.envs.net/" + needs_configs_dir: false + needs_data_dir: false + docker_settings: + services: + - name: watchtower + image: containrrr/watchtower + mounts: + - "/var/run/docker.sock:/var/run/docker.sock" + environment: + TZ: Europe/Paris + WATCHTOWER_CLEANUP: false + DOCKER_API_VERSION: 1.42 + WATCHTOWER_INCLUDE_STOPPED: false + WATCHTOWER_POLL_INTERVAL: 3600 + WATCHTOWER_MONITOR_ONLY: false + WATCHTOWER_NOTIFICATION_URL: "matrix://{{watchtower_mtrx_username}}:{{watchtower_mtrx_pass}}@matrix.envs.net/"