data.coop-ansible/roles/docker/templates/compose-files/watchtower.yml.j2

13 lines
329 B
Plaintext
Raw Normal View History

2023-09-30 16:15:27 +00:00
# vim: ft=yaml.docker-compose
version: "3.8"
services:
app:
image: containrrr/watchtower:{{ services.watchtower.version }}
restart: unless-stopped
environment:
WATCHTOWER_POLL_INTERVAL: "60"
volumes:
- "/root/.docker/config.json:/config.json:ro"
- "/var/run/docker.sock:/var/run/docker.sock"