2019-03-04 15:28:51 +00:00
|
|
|
---
|
2022-07-23 13:42:51 +00:00
|
|
|
- name: watchtower container
|
2019-03-04 15:28:51 +00:00
|
|
|
docker_container:
|
2022-07-23 13:42:51 +00:00
|
|
|
name: watchtower
|
2022-11-19 17:19:43 +00:00
|
|
|
image: containrrr/watchtower:amd64-1.5.1
|
2019-03-04 15:28:51 +00:00
|
|
|
restart_policy: unless-stopped
|
2022-11-18 17:59:00 +00:00
|
|
|
env:
|
|
|
|
WATCHTOWER_POLL_INTERVAL: 60
|
2019-03-04 15:28:51 +00:00
|
|
|
volumes:
|
2022-11-18 19:57:15 +00:00
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
|
|
- "/root/.docker/config.json:/config.json:ro"
|