Description
webserver_config.py location is hard-coded as follows:
WEBSERVER_CONFIG = AIRFLOW_HOME + '/webserver_config.py'
It would be great if this path is customizable.
Use case / motivation
Since AIRFLOW_HOME/config is already in PYTHONPATH (though that's also hard-coded), it's common for user to mount all config files under AIRFLOW_HOME/config. However, this webserver_config.py needs extra handling, either by mounting using a subPath explicitly, or in my case, creating a symbolic link from AIRFLOW_HOME/webserver_config.py to AIRFLOW_HOME/config/webserver_config.py in the image.
Description
webserver_config.pylocation is hard-coded as follows:It would be great if this path is customizable.
Use case / motivation
Since
AIRFLOW_HOME/configis already inPYTHONPATH(though that's also hard-coded), it's common for user to mount all config files underAIRFLOW_HOME/config. However, thiswebserver_config.pyneeds extra handling, either by mounting using asubPathexplicitly, or in my case, creating a symbolic link fromAIRFLOW_HOME/webserver_config.pytoAIRFLOW_HOME/config/webserver_config.pyin the image.