Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions alertflow/airflow.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -756,15 +756,13 @@ from_email = alertflow@airflow.com
# If you want airflow to send emails on retries, failure, and you want to use
# the airflow.utils.email.send_email_smtp function, you have to configure an
# smtp server here
smtp_host = localhost
smtp_host = $AIRFLOW__SMTP_HOST
smtp_starttls = True
smtp_ssl = False
# Example: smtp_user = airflow
# smtp_user =
# Example: smtp_password = airflow
# smtp_password =
smtp_port = 25
smtp_mail_from = airflow@example.com
smtp_user = $AIRFLOW__SMTP_USER
smtp_password = $AIRFLOW__SMTP_PASSWORD
smtp_port = $AIRFLOW__SMTP_PORT
smtp_mail_from = $AIRFLOW__SMTP_MAIL_FROM
smtp_timeout = 30
smtp_retry_limit = 5

Expand Down
5 changes: 5 additions & 0 deletions env.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ _AIRFLOW_WWW_USER_LAST_NAME=${_AIRFLOW_WWW_USER_LAST_NAME}

# Email
EMAIL_MAIN=${EMAIL_MAIN}
AIRFLOW__SMTP_HOST=${AIRFLOW__SMTP_HOST}
AIRFLOW__SMTP_USER=${AIRFLOW__SMTP_USER}
AIRFLOW__SMTP_PASSWORD=${AIRFLOW__SMTP_PASSWORD}
AIRFLOW__SMTP_PORT=${AIRFLOW__SMTP_PORT}
AIRFLOW__SMTP_MAIL_FROM=${AIRFLOW__SMTP_MAIL_FROM}

# External Postgres Connection
# https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html
Expand Down
Loading
Loading