14 lines
361 B
YAML
14 lines
361 B
YAML
---
|
|
- name: watchtower container
|
|
docker_container:
|
|
name: watchtower
|
|
image: containrrr/watchtower:amd64-1.5.1
|
|
restart_policy: unless-stopped
|
|
env:
|
|
WATCHTOWER_POLL_INTERVAL: 60
|
|
networks:
|
|
- name: external_services
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
- "/root/.docker/config.json:/config.json:ro"
|