Fix watchtower

This commit is contained in:
lucaskev 2026-03-23 11:54:39 +00:00
parent 726ea40b02
commit f4cc086e15

View file

@ -12,11 +12,19 @@ services:
# we use watchtower to get around portainer business-version-only limitation # we use watchtower to get around portainer business-version-only limitation
# on automatic pulls # on automatic pulls
watchtower: watchtower:
image: containrrr/watchtower image: nickfedor/watchtower
container_name: watchtower
restart: unless-stopped
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
command: --label-enable --interval 300 environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_POLL_INTERVAL=300
- TZ=Europe/Paris
labels:
- com.centurylinklabs.watchtower.enable=false
networks: networks:
proxy: proxy: