forked from data.coop/ansible
Upgrade Watchtower and disable filter by enable label
This commit is contained in:
parent
bcbe0a8285
commit
a4a06d8a58
|
@ -2,13 +2,12 @@
|
||||||
- name: watchtower container
|
- name: watchtower container
|
||||||
docker_container:
|
docker_container:
|
||||||
name: watchtower
|
name: watchtower
|
||||||
image: containrrr/watchtower:1.4.0
|
image: containrrr/watchtower:latest
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
|
env:
|
||||||
|
WATCHTOWER_POLL_INTERVAL: 60
|
||||||
networks:
|
networks:
|
||||||
- name: external_services
|
- name: external_services
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- "{{ docker_registry.volume_folder }}/auth/config.json:/config.json"
|
- "{{ docker_registry.volume_folder }}/auth/config.json:/config.json"
|
||||||
env:
|
|
||||||
WATCHTOWER_LABEL_ENABLE: "true"
|
|
||||||
WATCHTOWER_POLL_INTERVAL: "60"
|
|
Loading…
Reference in a new issue