svvema opened a new issue, #35812:
URL: https://github.com/apache/airflow/issues/35812
### Description
Adding a commented line in compose file like `-
${AIRFLOW_PROJ_DIR:-.}/airflow.cfg:/opt/airflow/airflow.cfg ` would save new
users tons of time when customizing the configuration file. Also the current
default bind `- ${AIRFLOW_PROJ_DIR:-.}/config:/opt/airflow/config` is
misleading where file airflow.cfg should be stored in the container.
Another solution is to simply add similar information here
https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html
### Use case/motivation
I was setting up email notifications and didn’t understand why SMTP server
configuration from airflow.cfg didn’t work
### Related issues
https://github.com/puckel/docker-airflow/issues/338
https://forum.astronomer.io/t/airflow-up-and-running-but-airflow-cfg-file-not-found/1931
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]