Set MAILER_TYPE
This commit is contained in:
parent
e83287738c
commit
6d719a877c
@ -104,9 +104,10 @@
|
|||||||
SECRET_KEY: "{{ secret_key}}"
|
SECRET_KEY: "{{ secret_key}}"
|
||||||
SMTP_FROM: "{{ smtp_from }}"
|
SMTP_FROM: "{{ smtp_from }}"
|
||||||
SMTP_HOST: "{{ smtp_host }}"
|
SMTP_HOST: "{{ smtp_host }}"
|
||||||
|
SMTP_MAILER_TYPE: "{{ smtp_mailer_type }}"
|
||||||
|
SMTP_PASSWD: "{{ smtp_passwd }}"
|
||||||
SMTP_TLS_ENABLED: "{{ smtp_tls_enabled }}"
|
SMTP_TLS_ENABLED: "{{ smtp_tls_enabled }}"
|
||||||
SMTP_USER: "{{ smtp_user }}"
|
SMTP_USER: "{{ smtp_user }}"
|
||||||
SMTP_PASSWD: "{{ smtp_passwd }}"
|
|
||||||
SSH_DOMAIN: "{{ ssh_domain }}"
|
SSH_DOMAIN: "{{ ssh_domain }}"
|
||||||
SSH_LISTEN_PORT: "{{ ssh_listen_port }}"
|
SSH_LISTEN_PORT: "{{ ssh_listen_port }}"
|
||||||
SSH_PORT: "{{ ssh_port }}"
|
SSH_PORT: "{{ ssh_port }}"
|
||||||
|
@ -14,6 +14,7 @@ install_lock: "true"
|
|||||||
mailer_enabled: "true"
|
mailer_enabled: "true"
|
||||||
smtp_from: "gitea-autonomic@decentral1.se"
|
smtp_from: "gitea-autonomic@decentral1.se"
|
||||||
smtp_host: "mail.gandi.net:587"
|
smtp_host: "mail.gandi.net:587"
|
||||||
|
smtp_mailer_type: "smtp"
|
||||||
smtp_tls_enabled: "true"
|
smtp_tls_enabled: "true"
|
||||||
smtp_user: "gitea-autonomic@decentral1.se"
|
smtp_user: "gitea-autonomic@decentral1.se"
|
||||||
ssh_domain: "git.autonomic.zone"
|
ssh_domain: "git.autonomic.zone"
|
||||||
|
@ -86,6 +86,7 @@ setup_app_ini() {
|
|||||||
crudini --set "$app_ini" mailer HOST "${SMTP_HOST}"
|
crudini --set "$app_ini" mailer HOST "${SMTP_HOST}"
|
||||||
crudini --set "$app_ini" mailer USER "${SMTP_USER}"
|
crudini --set "$app_ini" mailer USER "${SMTP_USER}"
|
||||||
crudini --set "$app_ini" mailer PASSWD "${SMTP_PASSWD}"
|
crudini --set "$app_ini" mailer PASSWD "${SMTP_PASSWD}"
|
||||||
|
crudini --set "$app_ini" mailer MAILER_TYPE "${SMTP_MAILER_TYPE}"
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
Reference in New Issue
Block a user