infrastructure/ansible/roles/watchtower/files/docker-compose.yml
Jake Howard 6852b84406
Change watchtower to run daily
A holdover until less of the containers are using `:latest`
2020-10-09 23:20:07 +01:00

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