ansible/roles/docker/templates/compose-files/watchtower.yml.j2
2024-03-29 21:54:14 +01:00

15 lines
369 B
Django/Jinja

{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
version: "3.8"
services:
app:
image: containrrr/watchtower:{{ services.watchtower.version }}
restart: unless-stopped
environment:
WATCHTOWER_POLL_INTERVAL: "60"
volumes:
- "/root/.docker/config.json:/config.json:ro"
- "/var/run/docker.sock:/var/run/docker.sock"