Here is related code: https://github.com/apache/airflow/blob/151934c/airflow/utils/net.py#L33-L53 https://github.com/apache/airflow/blob/151934cd83ec8a4b9d82d534c3abb190ea3e4f78/airflow/config_templates/default_airflow.cfg#L38-L43
Best Regards, Kamil Breguła On Sat, Feb 1, 2020 at 6:29 AM Anton Hughes <[email protected]> wrote: > > Hello > > I've recently starting working on a Airflow project, and have noticed that > all task instances claim to be running on a host (hostname) that is remote, > and not where they are actually running. > > What makes this issue more confusing is, I've search through the code of the > project, and there is no reference to the hostname anywhere. > > I'm running the Airflow project in a Docker container, and when I create a > shell into the running container, it doesnt have the hostname that is shown > in Airflow. > > So, my question is, where does the value of the hostname come from? > > Thanks for your help
