infrastructure/ansible/roles/watchtower/files/docker-compose.yml

13 lines
354 B
YAML
Raw Normal View History

2020-03-08 18:12:12 +00:00
version: "2.3"
services:
watchtower:
image: containrrr/watchtower:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
2020-04-10 11:31:01 +01:00
- "{{ home }}/.docker/config.json:/config.json:ro"
- /etc/timezone:/etc/timezone:ro
environment:
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_SCHEDULE=0 12 * * *
2020-04-24 21:38:00 +01:00
restart: unless-stopped