Skip to content

Make webserver_config.py location customizable #10206

Description

@fengsi

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.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions