Convert watchtower into its own role
This commit is contained in:
8
ansible/roles/watchtower/files/docker-compose.yml
Normal file
8
ansible/roles/watchtower/files/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: "2.3"
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- "{{ home }}/.docker/config.json:/config.json:ro"
|
||||
command: --cleanup --interval 300
|
Reference in New Issue
Block a user