Simplified watchtower setup

pull/3/head
Jef Roosens 2021-01-05 11:51:16 +01:00
parent c39e1cd604
commit 62d5ec2796
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,10 @@ services:
image: 'containrrr/watchtower' image: 'containrrr/watchtower'
restart: 'always' restart: 'always'
environment:
- 'WATCHTOWER_LABEL_ENABLE=true'
labels:
- 'com.centurylinklabs.watchtower.enable=true'
volumes: volumes:
- '/var/run/docker.sock:/var/run/docker.sock' - '/var/run/docker.sock:/var/run/docker.sock'
- '/etc/timezone:/etc/timezone:ro' - '/etc/timezone:/etc/timezone:ro'

View File

@ -1 +0,0 @@
WATCHTOWER_LABEL_ENABLE=true