Refactor everything

This commit is contained in:
Tobias Reisinger 2023-12-14 02:20:13 +01:00
parent 2e100d290f
commit 3f2e60becf
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
69 changed files with 366 additions and 281 deletions
_ansible/roles/watchtower/vars

View file

@ -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: