forgot to add boilerplate forf watchtower

This commit is contained in:
Arya 2024-01-08 12:13:38 +05:30
parent 97eb06f2fc
commit 3684415ef0
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -240,14 +240,19 @@ apps:
mounts: mounts:
- "{{data_dir}}/teddit/redis-data:/data" - "{{data_dir}}/teddit/redis-data:/data"
watchtower: watchtower:
image: containrrr/watchtower needs_configs_dir: false
mounts: needs_data_dir: false
- "/var/run/docker.sock:/var/run/docker.sock" docker_settings:
environment: services:
TZ: Europe/Paris - name: watchtower
WATCHTOWER_CLEANUP: false image: containrrr/watchtower
DOCKER_API_VERSION: 1.42 mounts:
WATCHTOWER_INCLUDE_STOPPED: false - "/var/run/docker.sock:/var/run/docker.sock"
WATCHTOWER_POLL_INTERVAL: 3600 environment:
WATCHTOWER_MONITOR_ONLY: false TZ: Europe/Paris
WATCHTOWER_NOTIFICATION_URL: "matrix://{{watchtower_mtrx_username}}:{{watchtower_mtrx_pass}}@matrix.envs.net/" 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/"