-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.airflow.local.example
50 lines (42 loc) · 1.61 KB
/
.env.airflow.local.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Airflow Metadata-Database
AIRFLOW_POSTGRES_VERSION=14.7
AIRFLOW_POSTGRES_USER=airflow
AIRFLOW_POSTGRES_PASSWORD=airflow
AIRFLOW_POSTGRES_DB=airflow
AIRFLOW_POSTGRES_PORT=5432
AIRFLOW_POSTGRES_PORT_HOST=5441
# Airflow Core
AIRFLOW__CORE__FERNET_KEY=UKMzEm3yIuFYEq1y3-2FxPNWSVwRASpahmQ9kQfEr8E=
AIRFLOW__CORE__EXECUTOR=LocalExecutor
AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION=True
AIRFLOW__CORE__LOAD_EXAMPLES=False
AIRFLOW__CORE__DAG_FILE_PROCESSOR_TIMEOUT=5000
AIRFLOW__CORE__CHECK_SLAS=True
AIRFLOW__CORE__DAGBAG_IMPORT_TIMEOUT=60
# Airflow logging
AIRFLOW__LOGGING__LOGGING_LEVEL=DEBUG
# Airflow general
AIRFLOW_UID=0
AIRFLOW_VAR_APP_ENVIRONMENT=local
# Airflow Connections
POSTGRES_HOST_WH=localhost
POSTGRES_PORT_WH=5440
POSTGRES_USER_WH=clara
POSTGRES_PASSWORD_WH=clara
POSTGRES_DB_WH=clara
AIRFLOW_CONN_POSTGRES_WAREHOUSE=postgresql://${POSTGRES_USER_WH}:${POSTGRES_PASSWORD_WH}@${POSTGRES_HOST_WH}:${POSTGRES_PORT_WH}/${POSTGRES_DB_WH}
# Airflow Webserver
AIRFLOW_WEBSERVER_PORT_HOST=8080
AIRFLOW__WEBSERVER__EXPOSE_CONFIG=True
AIRFLOW__WEBSERVER__SECRET_KEY=30693d9b48f28e655a250be4
AIRFLOW__WEBSERVER__INSTANCE_NAME="DAGs | ${AIRFLOW_VAR_APP_ENVIRONMENT} environment"
# Airflow API
AIRFLOW__API__AUTH_BACKENDS="airflow.api.auth.backend.basic_auth,airflow.api.auth.backend.session"
# Backend DB
AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=postgresql://${AIRFLOW_POSTGRES_USER}:${AIRFLOW_POSTGRES_PASSWORD}@airflow-db-metadata/${AIRFLOW_POSTGRES_DB}
AIRFLOW__DATABASE__LOAD_DEFAULT_CONNECTIONS=False
# Airflow Init
_AIRFLOW_DB_MIGRATE=True
_AIRFLOW_WWW_USER_CREATE=True
_AIRFLOW_WWW_USER_USERNAME=airflow
_AIRFLOW_WWW_USER_PASSWORD=airflow