Stéphane Burwash
06/16/2023, 3:31 PMairflow.cfg
file
webserver.expose_config [env: AIRFLOW_WEBSERVER_EXPOSE_CONFIG] current value: True (from `meltano.yml`)
webserver.hide_paused_dags_by_default [env: AIRFLOW_WEBSERVER_HIDE_PAUSED_DAGS_BY_DEFAULT] current value: True (from `meltano.yml`)
webserver.base_url [env: AIRFLOW_WEBSERVER_BASE_URL] current value: '<http://localhost:8081>' (from the active environment in `meltano.yml`)
I set the webserver url as being 8081, but it's still registering as 8080 in the configsStéphane Burwash
06/16/2023, 3:50 PMtaylor
06/16/2023, 8:53 PMairflow.cfg
, you can use meltano config
, meltano.yml
, or environment variables instead, and get the benefits of Meltano features like environments.
Any setting you can add to airflow.cfg
can be added to meltano.yml
, manually or using meltano config
. For example, [core] executor = SequentialExecutor
becomes meltano config airflow set core executor SequentialExecutor
on the CLI, or core.executor: SequentialExecutor
in meltano.yml
. Config sections indicated by [section]
in airflow.cfg
become nested dictionaries in meltano.yml
.taylor
06/16/2023, 8:53 PMtaylor
06/16/2023, 8:56 PMStéphane Burwash
06/18/2023, 1:50 PMtaylor
06/20/2023, 2:30 PMenv
key on the settings delegates the lookup to that specific environment variable name. So you can set env
to be what Airflow expects