This is an automated email from the ASF dual-hosted git repository.
husseinawala pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 1cf1fc46e9 docker compose doc changes (#30662)
1cf1fc46e9 is described below
commit 1cf1fc46e95c889c8c81bb2ed2c3f08a681bf7e3
Author: Bowrna <[email protected]>
AuthorDate: Sun Apr 16 02:20:48 2023 +0530
docker compose doc changes (#30662)
---
docs/apache-airflow/howto/docker-compose/docker-compose.yaml | 1 +
docs/apache-airflow/howto/docker-compose/index.rst | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/apache-airflow/howto/docker-compose/docker-compose.yaml
b/docs/apache-airflow/howto/docker-compose/docker-compose.yaml
index 719fffe8ab..097b472f05 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 791324e8b1..b18f54097d 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
</authoring-and-scheduling/plugins>` here.
This file uses the latest Airflow image (`apache/airflow
<https://hub.docker.com/r/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 <docker-compose-env-variables>`