diff --git a/docs/apache-airflow/howto/docker-compose/docker-compose.yaml b/docs/apache-airflow/howto/docker-compose/docker-compose.yaml index 719fffe8ab25..097b472f05b6 100644 --- a/docs/apache-airflow/howto/docker-compose/docker-compose.yaml +++ b/docs/apache-airflow/howto/docker-compose/docker-compose.yaml @@ -75,6 +75,7 @@ x-airflow-common: volumes: - ${AIRFLOW_PROJ_DIR:-.}/dags:/opt/airflow/dags - ${AIRFLOW_PROJ_DIR:-.}/logs:/opt/airflow/logs + - ${AIRFLOW_PROJ_DIR:-.}/config:/opt/airflow/config - ${AIRFLOW_PROJ_DIR:-.}/plugins:/opt/airflow/plugins user: "${AIRFLOW_UID:-50000}:0" depends_on: diff --git a/docs/apache-airflow/howto/docker-compose/index.rst b/docs/apache-airflow/howto/docker-compose/index.rst index 791324e8b1df..b18f54097daf 100644 --- a/docs/apache-airflow/howto/docker-compose/index.rst +++ b/docs/apache-airflow/howto/docker-compose/index.rst @@ -101,6 +101,7 @@ Some directories in the container are mounted, which means that their contents a - ``./dags`` - you can put your DAG files here. - ``./logs`` - contains logs from task execution and scheduler. +- ``./config`` - you can add custom log parser or add ``airflow_local_settings.py`` to configure cluster policy. - ``./plugins`` - you can put your :doc:`custom plugins ` here. This file uses the latest Airflow image (`apache/airflow `__). @@ -124,7 +125,7 @@ You have to make sure to configure them for the docker-compose: .. code-block:: bash - mkdir -p ./dags ./logs ./plugins + mkdir -p ./dags ./logs ./plugins ./config echo -e "AIRFLOW_UID=$(id -u)" > .env See :ref:`Docker Compose environment variables `