fengsi opened a new issue #10206:
URL: https://github.com/apache/airflow/issues/10206


   **Description**
   `webserver_config.py` location is 
[hard-coded](https://github.com/apache/airflow/blob/c2db0dfeb13ee679bf4d7b57874f0fcb39c0f0ed/airflow/configuration.py#L769)
 as follows:
   ```
   WEBSERVER_CONFIG = AIRFLOW_HOME + '/webserver_config.py'
   ```
   
   **Use case / motivation**
   It would be great if this path is customizable.  Since `AIRFLOW_HOME/config` 
is already in `PYTHONPATH` (thought 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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to