infrastructure/ansible/roles/docker/files/watchtower/docker-compose.yml
2020-04-10 11:31:01 +01:00

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