Skip to main content

Global Environment Variables

Overview

As part of the Astro architecture, certain environment variables have preset values that cannot be overridden by your organization. This reference page contains information about each global environment variable set by Astronomer.

Global Environment Variables

Environment VariableDescriptionValue
AIRFLOW__LOGGING__REMOTE_LOGGINGEnables remote loggingTrue
AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDERLocation of remote logging storagebaseLogFolder
AIRFLOW__LOGGING__REMOTE_LOG_CONN_IDAirflow connection ID to access remote logging storageastro_s3_logging
AIRFLOW_CONN_ASTRO_S3_LOGGINGConnection URI for writing task logs to Astro's managed S3 bucket<Connection URI>
AIRFLOW__LOGGING__ENCRYPT_S3_LOGSDetermines whether to use server-side encryption for S3 logsFalse
AIRFLOW__WEBSERVER__BASE_URLThe base URL of the Airflow UIhttps://${fullIngressHostname}
AIRFLOW__CORE__SQL_ALCHEMY_CONNThe SqlAlchemy connection string for the metadata DBdbConnSecret
AIRFLOW__WEBSERVER__UPDATE_FAB_PERMSDetermines whether to update FAB permissions on Webserver startupTrue
AIRFLOW__WEBSERVER__ENABLE_PROXY_FIXDetermines whether to enable werkzeug ProxyFix middleware for reverse proxyTrue
AIRFLOW_CONN_AIRFLOW_DBThe connection ID for accessing the Airflow metadata DBdbConnSecret
AIRFLOW__CORE__FERNET_KEYThe secret key for saving connection passwords in the metadata DBfernetKeySecret
AIRFLOW__CORE__EXECUTORThe executor class that Airflow uses. Astro exclusively supports the Celery Executorexecutor
AIRFLOW_HOMEThe home directory for an Airflow projectusr/local/airflow
AIRFLOW__KUBERNETES__NAMESPACEThe Kubernetes namespace where Airflow Workers are creatednamespace
AIRFLOW__CORE__HOSTNAME_CALLABLEPath to a callable, which resolves to the hostnameairflow.utils.net.get_host_ip_address
AIRFLOW__SCHEDULER__STATSD_ONDetermines whether Statsd is onTrue
AIRFLOW__SCHEDULER__STATSD_HOSTThe hostname for Statsdstatsd.Hostname
AIRFLOW__SCHEDULER__STATSD_PORTThe port for Statsdstrconv.FormatInt(int64(statsd.IngestPort), baseTen)
AIRFLOW__METRICS__STATSD_ONDetermines whether metrics are sent to StatsdTrue
AIRFLOW__METRICS__STATSD_HOSTThe hostname for sending metrics to Statsdstatsd.Hostname
AIRFLOW__METRICS__STATSD_PORTThe port for sending metrics to Statsdstrconv.FormatInt(int64(statsd.IngestPort), baseTen)
AIRFLOW__WEBSERVER__COOKIE_SECURESets a secure flag on server cookiesTrue
AIRFLOW__WEBSERVER__INSTANCE_NAMEShows the name of your Deployment in the Home view of the Airflow UI<Deployment-Name>
AIRFLOW__CELERY__WORKER_CONCURRENCYDetermines how many tasks each Celery worker can run at any given time and is the basis of worker auto-scaling logic16
AIRFLOW__WEBSERVER__NAVBAR_COLORThe color of the main navigation bar in the Airflow UI#4a4466