Add watchtower service
This commit is contained in:
parent
57ce1d2b44
commit
fe2478a373
4 changed files with 36 additions and 0 deletions
9
roles/watchtower/templates/docker-compose.yml.j2
Normal file
9
roles/watchtower/templates/docker-compose.yml.j2
Normal file
|
@ -0,0 +1,9 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower:latest
|
||||
restart: always
|
||||
container_name: watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
Loading…
Add table
Add a link
Reference in a new issue