Fix watchtower
This commit is contained in:
parent
726ea40b02
commit
f4cc086e15
1 changed files with 11 additions and 3 deletions
|
|
@ -12,12 +12,20 @@ services:
|
|||
|
||||
# we use watchtower to get around portainer business-version-only limitation
|
||||
# on automatic pulls
|
||||
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
image: nickfedor/watchtower
|
||||
container_name: watchtower
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /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:
|
||||
proxy:
|
||||
external: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue