Skip to content

Commit 4566647

Browse files
authored
chore(satellite): update satellite-weather-downloader dependency to 1.11.2 (#38)
* chore(satellite): update satellite-weather-downloader dependency to 1.11.2 * include SMTP env vars
1 parent 6bb5e61 commit 4566647

File tree

4 files changed

+283
-67
lines changed

4 files changed

+283
-67
lines changed

alertflow/airflow.cfg

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -756,15 +756,13 @@ from_email = [email protected]
756756
# If you want airflow to send emails on retries, failure, and you want to use
757757
# the airflow.utils.email.send_email_smtp function, you have to configure an
758758
# smtp server here
759-
smtp_host = localhost
759+
smtp_host = $AIRFLOW__SMTP_HOST
760760
smtp_starttls = True
761761
smtp_ssl = False
762-
# Example: smtp_user = airflow
763-
# smtp_user =
764-
# Example: smtp_password = airflow
765-
# smtp_password =
766-
smtp_port = 25
767-
smtp_mail_from = [email protected]
762+
smtp_user = $AIRFLOW__SMTP_USER
763+
smtp_password = $AIRFLOW__SMTP_PASSWORD
764+
smtp_port = $AIRFLOW__SMTP_PORT
765+
smtp_mail_from = $AIRFLOW__SMTP_MAIL_FROM
768766
smtp_timeout = 30
769767
smtp_retry_limit = 5
770768

env.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ _AIRFLOW_WWW_USER_LAST_NAME=${_AIRFLOW_WWW_USER_LAST_NAME}
1717

1818
# Email
1919
EMAIL_MAIN=${EMAIL_MAIN}
20+
AIRFLOW__SMTP_HOST=${AIRFLOW__SMTP_HOST}
21+
AIRFLOW__SMTP_USER=${AIRFLOW__SMTP_USER}
22+
AIRFLOW__SMTP_PASSWORD=${AIRFLOW__SMTP_PASSWORD}
23+
AIRFLOW__SMTP_PORT=${AIRFLOW__SMTP_PORT}
24+
AIRFLOW__SMTP_MAIL_FROM=${AIRFLOW__SMTP_MAIL_FROM}
2025

2126
# External Postgres Connection
2227
# https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html

0 commit comments

Comments
 (0)