feat(shepherd): Add auto update shepherd role
Deprecates diun as it provides a simpler implementation for docker swarm. Mark any containers you want auto updated with `shepherd.autoupdate=true` and the rest with `shepherd.autoupdate=false`. Everything untagged will not be watched (by default), though this can be changed by setting the ansible default variable `shepherd_filter_services: `.
This commit is contained in:
parent
bc9104c3e8
commit
2dfe9f9b92
6 changed files with 98 additions and 0 deletions
6
roles/shepherd/vars/main.yml
Normal file
6
roles/shepherd/vars/main.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
stack_name: shepherd
|
||||
|
||||
stack_image: "containrrr/shepherd"
|
||||
|
||||
stack_compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue