Upgrade Watchtower and disable filter by enable label

This commit is contained in:
Sam A. 2022-11-18 18:59:00 +01:00
parent bcbe0a8285
commit a4a06d8a58
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
1 changed files with 3 additions and 4 deletions

View File

@ -2,13 +2,12 @@
- name: watchtower container
docker_container:
name: watchtower
image: containrrr/watchtower:1.4.0
image: containrrr/watchtower:latest
restart_policy: unless-stopped
env:
WATCHTOWER_POLL_INTERVAL: 60
networks:
- name: external_services
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- "{{ docker_registry.volume_folder }}/auth/config.json:/config.json"
env:
WATCHTOWER_LABEL_ENABLE: "true"
WATCHTOWER_POLL_INTERVAL: "60"