digital2real commented on issue #19962:
URL: https://github.com/apache/airflow/issues/19962#issuecomment-1140532159
You could patch your docker-compose.yml, modifying the "command" section of
the airflow-init service (see the last three lines of the following excerpt).
When the airflow-init container start, the config directory is not in the
python path....
```
airflow-init:
<<: *airflow-common
entrypoint: /bin/bash
# yamllint disable rule:line-length
command:
- -c
- |
function ver() {
printf "%04d%04d%04d%04d" $${1//./ }
}
export PYTHONPATH=${PYTHONPATH}:/sources/config
mkdir -p /sources/logs /sources/dags /sources/plugins /sources/config
chown -R "${AIRFLOW_UID}:0" /sources/{logs,dags,plugins,config}
```
--
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]