Add mailcow to terraform

This commit is contained in:
Tobias Reisinger 2024-10-29 22:43:05 +01:00
parent d73462cd90
commit f20b2596d0
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
18 changed files with 135 additions and 35 deletions
playbooks/roles/watchtower/vars

View file

@ -8,12 +8,12 @@ watchtower_env:
# WATCHTOWER_NO_PULL: true
WATCHTOWER_NOTIFICATIONS: email
WATCHTOWER_NOTIFICATION_EMAIL_FROM: "watchtower@serguzim.me"
WATCHTOWER_NOTIFICATION_EMAIL_FROM: "{{ opentofu.mailcow_data.watchtower.address }}"
WATCHTOWER_NOTIFICATION_EMAIL_TO: "{{ admin_email }}"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: "{{ mailer.host }}"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: "{{ mailer.port }}"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: "watchtower@serguzim.me"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: "{{ vault_watchtower.mailer.pass }}"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: "{{ opentofu.mailcow_data.watchtower.address }}"
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: "{{ opentofu.mailcow_data.watchtower.password }}"
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 5
watchtower_compose: