Skip to content

Commit

Permalink
Add airflow.api.auth.backend.session to backend sessions in compose
Browse files Browse the repository at this point in the history
The default backend seting in Docker compose needs to be updated
to get rid of the warning introduced in apache#21640

Fixes: apache#28091
  • Loading branch information
potiuk committed Dec 4, 2022
1 parent 4746882 commit f8b3445
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8b3445

Please sign in to comment.