Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Airflow URL in email alert

Tags:

airflow

Does anyone know how to configure airflow such that link in the email alert is not pointing to localhost:

Try 1 out of 2 Exception: Bash command failed Log: Link Host: vm232 Log file: /home/dev/airflow/logs/test_email_alert/email_alert/2017-03-15T20:00:00.log Mark success: Link


Link i got is "localhost"

Thanks

like image 685
Kenneth Avatar asked Mar 16 '17 11:03

Kenneth


1 Answers

In airflow.cfg, there's a section called webserver. Under that you will find a parameter called base_url. Configure that for the e-mail.

like image 54
J.Fratzke Avatar answered Oct 12 '22 23:10

J.Fratzke