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

10 lines
265 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
2020-04-24 21:38:00 +01:00
restart: unless-stopped