potiuk commented on a change in pull request #16170:
URL: https://github.com/apache/airflow/pull/16170#discussion_r642124160



##########
File path: docs/apache-airflow/start/docker.rst
##########
@@ -260,13 +260,32 @@ runtime user id which is unknown at the time of building 
the image.
 |                                | you want to use different UID than default 
it must  |                          |
 |                                | be set to ``0``.                            
        |                          |
 
+--------------------------------+-----------------------------------------------------+--------------------------+
-| ``_AIRFLOW_WWW_USER_USERNAME`` | Username for the administrator UI account.  
        |                          |
-|                                | If this value is specified, admin UI user 
gets      |                          |
-|                                | created automatically. This is only useful 
when     |                          |
-|                                | you want to run Airflow for a test-drive 
and        |                          |
-|                                | want to start a container with embedded 
development |                          |
-|                                | database.                                   
        |                          |
-+--------------------------------+-----------------------------------------------------+--------------------------+
-| ``_AIRFLOW_WWW_USER_PASSWORD`` | Password for the administrator UI account.  
        |                          |
-|                                | Only used when 
``_AIRFLOW_WWW_USER_USERNAME`` set.  |                          |
-+--------------------------------+-----------------------------------------------------+--------------------------+
+
+Those additional variables are useful in case you are trying out/testing 
Airflow installation via docker compose.
+They are not intended to be used in production, but they make the environment 
nicer to bootstrap for first time
+users.
+
++----------------------------------+-----------------------------------------------------+--------------------------+
+|   Variable                       | Description                               
          | Default                  |
++==================================+=====================================================+==========================+
+| ``_AIRFLOW_DB_UPGRADE``          | If not empty, the init container will 
attempt to    | true                     |
+|                                  | upgrade the database of Airflow.          
          |                          |
++----------------------------------+-----------------------------------------------------+--------------------------+
+| ``_AIRFLOW_WWW_USER_CREATE``     | If not empty, the init container will 
attempt to    | true                     |
+|                                  | create the administrator use.             
          |                          |
++----------------------------------+-----------------------------------------------------+--------------------------+
+| ``_AIRFLOW_WWW_USER_USERNAME``   | Username for the administrator UI 
account.          | airflow                  |
+|                                  | If this value is specified, admin UI user 
gets      |                          |
+|                                  | created automatically. This is only 
useful when     |                          |
+|                                  | you want to run Airflow for a test-drive 
and        |                          |
+|                                  | want to start a container with embedded 
development |                          |
+|                                  | database.                                 
          |                          |
++----------------------------------+-----------------------------------------------------+--------------------------+
+| ``_AIRFLOW_WWW_USER_PASSWORD``   | Password for the administrator UI 
account.          | airflow                  |
+|                                  | Only used when 
``_AIRFLOW_WWW_USER_USERNAME`` set.  |                          |
++----------------------------------+-----------------------------------------------------+--------------------------+
+| ``_PIP_ADDITIONAL_REQUIREMENTS`` | If not empty, airflow containers will 
attempt to    |                          |
+|                                  | install requirements specified in the 
variable.     |                          |
+|                                  | example: ``lxml==4.6.3 
charset-normalizer=1.4.1``.  |                          |

Review comment:
       ```suggestion
   |                                  | example: ``lxml==4.6.3 
charset-normalizer==1.4.1``. |                          |
   ```




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to