This is an automated email from the ASF dual-hosted git repository.
potiuk 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 9d73830209 Add airflow.api.auth.backend.session to backend sessions in
compose (#28094)
9d73830209 is described below
commit 9d73830209aa1de03f2de6e6461b8416011c6ba6
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Dec 4 20:07:07 2022 +0100
Add airflow.api.auth.backend.session to backend sessions in compose (#28094)
The default backend seting in Docker compose needs to be updated
to get rid of the warning introduced in #21640
Fixes: #28091
---
docs/apache-airflow/howto/docker-compose/docker-compose.yaml | 2 +-
1 file changed, 1 insertion(+), 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 30a1454edd..99e675a42c 100644
--- a/docs/apache-airflow/howto/docker-compose/docker-compose.yaml
+++ b/docs/apache-airflow/howto/docker-compose/docker-compose.yaml
@@ -57,7 +57,7 @@ x-airflow-common:
AIRFLOW__CORE__FERNET_KEY: ''
AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION: 'true'
AIRFLOW__CORE__LOAD_EXAMPLES: 'true'
- AIRFLOW__API__AUTH_BACKENDS: 'airflow.api.auth.backend.basic_auth'
+ AIRFLOW__API__AUTH_BACKENDS:
'airflow.api.auth.backend.basic_auth,airflow.api.auth.backend.session'
_PIP_ADDITIONAL_REQUIREMENTS: ${_PIP_ADDITIONAL_REQUIREMENTS:-}
volumes:
- ./dags:/opt/airflow/dags