This is an automated email from the ASF dual-hosted git repository.

taragolis 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 8fb4c71857 Add airflow version substitution into Docker Compose Howto 
(#37177)
8fb4c71857 is described below

commit 8fb4c71857324fa2366179819830d53f32ef5a3f
Author: Andrey Anshin <andrey.ans...@taragol.is>
AuthorDate: Mon Feb 5 18:11:30 2024 +0400

    Add airflow version substitution into Docker Compose Howto (#37177)
---
 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 383a0f4c55..00f08915ea 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 069153e90a..52fc0390c2 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -344,6 +344,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"]

Reply via email to