2022-12-29 21:13:31 +00:00
|
|
|
# vim: ft=yaml.ansible
|
2019-03-04 15:28:51 +00:00
|
|
|
---
|
2022-07-23 13:42:51 +00:00
|
|
|
- name: watchtower container
|
2019-03-04 15:28:51 +00:00
|
|
|
docker_container:
|
2022-07-23 13:42:51 +00:00
|
|
|
name: watchtower
|
2022-12-07 20:36:35 +00:00
|
|
|
image: containrrr/watchtower:{{ services.watchtower.version }}
|
2019-03-04 15:28:51 +00:00
|
|
|
restart_policy: unless-stopped
|
|
|
|
networks:
|
|
|
|
- name: external_services
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2022-11-26 08:15:18 +00:00
|
|
|
- "{{ services.docker_registry.volume_folder }}/auth/config.json:/config.json"
|
2019-03-04 15:28:51 +00:00
|
|
|
env:
|
2022-07-23 13:42:51 +00:00
|
|
|
WATCHTOWER_LABEL_ENABLE: "true"
|
2022-12-07 20:36:35 +00:00
|
|
|
WATCHTOWER_POLL_INTERVAL: "60"
|