Drive watchtower config from environment
This commit is contained in:
parent
413ff4dad9
commit
93ccb686e7
1 changed files with 4 additions and 1 deletions
|
@ -5,5 +5,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- "{{ home }}/.docker/config.json:/config.json:ro"
|
- "{{ home }}/.docker/config.json:/config.json:ro"
|
||||||
command: --cleanup --interval 600
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
environment:
|
||||||
|
- WATCHTOWER_CLEANUP=true
|
||||||
|
- WATCHTOWER_POLL_INTERVAL=600
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue