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

View file

@ -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"