Refactor everything
This commit is contained in:
parent
2e100d290f
commit
3f2e60becf
69 changed files with 366 additions and 281 deletions
_ansible/roles/watchtower/vars
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
svc:
|
||||
watchtower_svc:
|
||||
name: watchtower
|
||||
|
||||
svc_env:
|
||||
watchtower_env:
|
||||
WATCHTOWER_LABEL_ENABLE: true
|
||||
WATCHTOWER_CLEANUP: true
|
||||
WATCHTOWER_SCHEDULE: "0 27 20 * * *"
|
||||
|
@ -16,10 +16,9 @@ svc_env:
|
|||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: "{{ vault_watchtower.mailer.pass }}"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 5
|
||||
|
||||
compose:
|
||||
watchtower_compose:
|
||||
watchtower: false
|
||||
image: containrrr/watchtower
|
||||
env: true
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
file:
|
||||
|
|
Reference in a new issue