Skip to content

Commit

Permalink
Enable LDAP auth in docker-compose.yaml (#14516)
Browse files Browse the repository at this point in the history
Co-authored-by: Kamil Breguła <kamilbregula@apache.org>
  • Loading branch information
mik-laj and mik-laj authored Feb 27, 2021
1 parent 7979b75 commit 7d18150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apache-airflow/start/airflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

set -euo pipefail

export COMPOSE_FILE=${PROJECT_DIR}/docker-compose.yaml
export COMPOSE_FILE="${PROJECT_DIR}/docker-compose.yaml"
exec docker-compose run airflow-worker "${@}"
1 change: 1 addition & 0 deletions docs/apache-airflow/start/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ x-airflow-common:
AIRFLOW__CORE__FERNET_KEY: ''
AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION: 'true'
AIRFLOW__CORE__LOAD_EXAMPLES: 'true'
AIRFLOW__API__AUTH_BACKEND: 'airflow.api.auth.backend.basic_auth'
volumes:
- ./dags:/opt/airflow/dags
- ./logs:/opt/airflow/logs
Expand Down

0 comments on commit 7d18150

Please sign in to comment.