This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
pi-ansible/roles/docker_services/tasks/services/watchtower.yml
2023-01-04 22:31:48 +01:00

12 lines
327 B
YAML

# vim: ft=yaml.ansible
---
- name: Deploy Watchtower Docker container
docker_container:
name: watchtower
image: containrrr/watchtower:{{ services.watchtower.version }}
restart_policy: unless-stopped
env:
WATCHTOWER_POLL_INTERVAL: '3600'
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw