Docker Community Forums

Share and learn in the Docker community.

Why doesn't the LocalExecutor configuration persist?

This is my docker-compose:

`version: ‘2’

services:
postgresql:
image: ‘docker.io/x10232/airflow
environment:
- AIRFLOW__DATABASE_NAME=airflow
- AIRFLOW__DATABASE_USERNAME=airflow
- AIRFLOW__DATABASE_PASSWORD=airflow
- AIRFLOW__CORE__AIRFLOW_HOME=/usr/local/airflow
- AIRFLOW__CORE__DAGS_FOLDER=/usr/local/airflow/dags
- AIRFLOW__CORE__BASE_LOG_FOLDER=/usr/local/airflow/logs
- AIRFLOW__EXECUTOR=LocalExecutor
- AIRFLOW__WEBSERVER_RBAC=False
- AIRFLOW__CORE_LOAD_EXAMPLES=False
- AIRFLOW__CORE__FERNET_KEY=W2imcBfFi9Bjy0Xy-zBDg6v2Xhkf573CmNCOscx1Efc=
ports:
- ‘8080:8080’
volumes:
- ./dags:/usr/local/airflow/dags

I set AIRFLOW__EXECUTOR=LocalExecutor But it still runs on SequentialExecutor. What am I doing wrong? I’m sorry I’m new to this. Thanks.

Please paste the content of your docker-compose.yml again, but this time as Preformatted text ( </> icon).