lab-ansible/roles/apps/templates/compose-files/watchtower.yml.j2

14 lines
311 B
Plaintext
Raw Normal View History

2023-12-29 18:07:08 +00:00
{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
version: "3.8"
services:
app:
image: containrrr/watchtower:{{ apps_vars.watchtower.version }}
restart: always
environment:
2024-02-10 16:00:26 +00:00
WATCHTOWER_POLL_INTERVAL: 60
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"