Make `webserver_config.py` location customizable
See original GitHub issueDescription
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.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Webserver — Airflow Documentation
Here is an example of defining a custom security manager. This class must be available in Python's path, and could be defined in...
Read more >All About Airflow Webserver Made Easy 101 - Hevo Data
The following is an example of how to define a custom security manager. This class must be in Python's path and, if desired,...
Read more >Where to check logs of webserver_config.py in Airflow?
Could you add the following: import logging from airflow.utils.log.logging_mixin import RedirectStdHandler logger = logging.
Read more >airflow 7.14.0 · airflow-helm/airflow-helm - Artifact Hub
custom -values.yaml # Helm 2 helm install \ airflow-stable/airflow \ --name ... To create the my-airflow-webserver-config ConfigMap, you could use:
Read more >Create a Python Web Server
But you can also create a custom web server which has unique functionality. In this article you'll learn ... You could serve it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://github.com/apache/airflow/pull/14353 – this one – that fixes it for the Helm Chart
Sure, I’d be willing to make that happen. I may also take care of other config paths together. 👍