Set MAILER_TYPE

This commit is contained in:
Luke Murphy 2020-03-27 19:35:50 +01:00
parent e83287738c
commit 6d719a877c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 4 additions and 1 deletions

View File

@ -104,9 +104,10 @@
SECRET_KEY: "{{ secret_key}}"
SMTP_FROM: "{{ smtp_from }}"
SMTP_HOST: "{{ smtp_host }}"
SMTP_MAILER_TYPE: "{{ smtp_mailer_type }}"
SMTP_PASSWD: "{{ smtp_passwd }}"
SMTP_TLS_ENABLED: "{{ smtp_tls_enabled }}"
SMTP_USER: "{{ smtp_user }}"
SMTP_PASSWD: "{{ smtp_passwd }}"
SSH_DOMAIN: "{{ ssh_domain }}"
SSH_LISTEN_PORT: "{{ ssh_listen_port }}"
SSH_PORT: "{{ ssh_port }}"

View File

@ -14,6 +14,7 @@ install_lock: "true"
mailer_enabled: "true"
smtp_from: "gitea-autonomic@decentral1.se"
smtp_host: "mail.gandi.net:587"
smtp_mailer_type: "smtp"
smtp_tls_enabled: "true"
smtp_user: "gitea-autonomic@decentral1.se"
ssh_domain: "git.autonomic.zone"

View File

@ -86,6 +86,7 @@ setup_app_ini() {
crudini --set "$app_ini" mailer HOST "${SMTP_HOST}"
crudini --set "$app_ini" mailer USER "${SMTP_USER}"
crudini --set "$app_ini" mailer PASSWD "${SMTP_PASSWD}"
crudini --set "$app_ini" mailer MAILER_TYPE "${SMTP_MAILER_TYPE}"
}
main() {