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

9 lines
237 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"
command: --cleanup --interval 300