-
Notifications
You must be signed in to change notification settings - Fork 3
/
env.tpl
35 lines (29 loc) · 1.1 KB
/
env.tpl
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
ENV=${ENV:-dev}
# Core
AIRFLOW_PROJ_DIR=${AIRFLOW_PROJ_DIR:-.}
AIRFLOW_HOME=${AIRFLOW_HOME:-/opt/airflow}
AIRFLOW_PORT=${AIRFLOW_PORT:-8081}
AIRFLOW_UID=${AIRFLOW_UID}
HOST_UID=${HOST_UID}
HOST_GID=${HOST_GID}
# Web
_AIRFLOW_WWW_USER_USERNAME=${_AIRFLOW_WWW_USER_USERNAME}
_AIRFLOW_WWW_USER_PASSWORD=${_AIRFLOW_WWW_USER_USERNAME}
_AIRFLOW_WWW_USER_EMAIL=${_AIRFLOW_WWW_USER_EMAIL}
_AIRFLOW_WWW_USER_FIRST_NAME=${_AIRFLOW_WWW_USER_FIRST_NAME}
_AIRFLOW_WWW_USER_LAST_NAME=${_AIRFLOW_WWW_USER_LAST_NAME}
# Email
EMAIL_MAIN=${EMAIL_MAIN}
# External Postgres Connection
# https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html
PSQL_USER_MAIN=${PSQL_USER_MAIN}
PSQL_PASSWORD_MAIN=${PSQL_PASSWORD_MAIN}
PSQL_HOST_MAIN=${PSQL_HOST_MAIN}
PSQL_PORT_MAIN=${PSQL_PORT_MAIN}
PSQL_DB_MAIN=${PSQL_DB_MAIN}
PSQL_URI_MAIN=postgresql://${PSQL_USER_MAIN}:${PSQL_PASSWORD_MAIN}@${PSQL_HOST_MAIN}:${PSQL_PORT_MAIN}/${PSQL_DB_MAIN}
# Satellite Weather (format: CDSAPI_KEY="UID:KEY")
# https://cds.climate.copernicus.eu/user/{MY_USER}
CDSAPI_KEY=${CDSAPI_KEY}
# Extras
AIRFLOW__CORE__FERNET_KEY=${AIRFLOW__CORE__FERNET_KEY}