12 lines
354 B
YAML
12 lines
354 B
YAML
version: "2.3"
|
|
services:
|
|
watchtower:
|
|
image: containrrr/watchtower:latest
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- "{{ home }}/.docker/config.json:/config.json:ro"
|
|
- /etc/timezone:/etc/timezone:ro
|
|
environment:
|
|
- WATCHTOWER_CLEANUP=true
|
|
- WATCHTOWER_SCHEDULE=0 12 * * *
|
|
restart: unless-stopped
|