This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v2-8-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit bba105a3bd286e9309e39bb92da004b8754f903a Author: Andrey Anshin <[email protected]> AuthorDate: Mon Feb 5 18:11:30 2024 +0400 Add airflow version substitution into Docker Compose Howto (#37177) (cherry picked from commit 8fb4c71857324fa2366179819830d53f32ef5a3f) --- docs/apache-airflow/howto/docker-compose/index.rst | 4 ++-- docs/conf.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/apache-airflow/howto/docker-compose/index.rst b/docs/apache-airflow/howto/docker-compose/index.rst index 1533d0c813..087b480993 100644 --- a/docs/apache-airflow/howto/docker-compose/index.rst +++ b/docs/apache-airflow/howto/docker-compose/index.rst @@ -319,14 +319,14 @@ you should do those steps: .. code-block:: docker - #image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:2.6.1} + #image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:|version|} build: . 2) Create ``Dockerfile`` in the same folder your ``docker-compose.yaml`` file is with content similar to: .. code-block:: docker - FROM apache/airflow:2.6.1 + FROM apache/airflow:|version| ADD requirements.txt . RUN pip install apache-airflow==${AIRFLOW_VERSION} -r requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 4f7aaff91d..d33e928d4c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -341,6 +341,7 @@ if PACKAGE_NAME == "apache-airflow": "installation/installing-from-pypi.html", "installation/installing-from-sources.html", "administration-and-deployment/logging-monitoring/advanced-logging-configuration.html", + "howto/docker-compose/index.html", ] if PACKAGE_NAME.startswith("apache-airflow-providers"): manual_substitutions_in_generated_html = ["example-dags.html", "operators.html", "index.html"]
