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

12 lines
274 B
Django/Jinja

# code: language=ansible-jinja
version: "3.8"
services:
app:
image: containrrr/watchtower:{{ apps_vars.watchtower.version }}
restart: always
environment:
WATCHTOWER_POLL_INTERVAL: 3600
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"