-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.template
More file actions
85 lines (76 loc) · 3.06 KB
/
Copy path.env.template
File metadata and controls
85 lines (76 loc) · 3.06 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
########################################################################################################################
# [TEMPLATE FOR] USER specific ENVIRONMENT variables for local environment
# After copying this file to ./.env these ENV VAR values will be read-in in two places
# (1) docker configuration
# - Variables defined here will be substituted for variables like ${THIS_VAR} that exist in docker-compose.yml
# - To see the interpolated config values in use, run:
# > docker compose config
# or
# > make docker-compose-config
# (2) Runtime env configuration via brus_backend_common.config module
# - Variables defined here will override variables of the same name in default or env-specific
# config data classes (e.g. DefaultConfig in default.py and/or LocalConfig local.py)
########################################################################################################################
# ==== [Python] ====
PYTHON_VERSION=3.12.12
# ==== [Local Development] ====
IS_LOCAL=True
ENV_CODE=local
FAPC=False
TRACE_ENV=unspecified
PROJECT_LOG_DIR=brus_backend_common/logs
# ==== [AWS] ====
# AWS_PROFILE needs to be left defaulted to None in python if not intending to use it. No way to set it to None in the .env file
# Uncomment below and set to the profile desired IF you want to use an AWS_PROFILE
#AWS_ACCESS_KEY=
#AWS_SECRET_KEY=
#AWS_PROFILE=
AWS_REGION=us-gov-west-1
# ==== [Buckets] ====
DATA_ARCHIVE_BUCKET=
DATA_EXTRACTS_BUCKET=
DATA_SOURCES_BUCKET=
FPDS_DELETE_BUCKET=
METRICS_BUCKET=
PUBLIC_FILES_BUCKET=
PUBLISHED_BUCKET=
SF133_BUCKET=
SUB_ZIPS_BUCKET=
UNPUBLISHED_BUCKET=
# Lakehouse Buckets
LAKEHOUSE_BROKER_BUCKET=
LAKEHOUSE_REFERENCE_BUCKET=
LAKEHOUSE_USAS_BUCKET=
# ==== [Postgres] ====
DB1_URL=
DB2_URL=
# ==== [Metastore] ====
METASTORE_URL=
# ==== [Spark] ====
JAVA_VERSION=
SPARK_VERSION=
HADOOP_VERSION=
SCALA_VERSION=
DELTA_VERSION=
SPARK_MASTER_HOST=spark-master
SPARK_MASTER_PORT=7077
SPARK_MASTER_WEBUI_PORT=4040
SPARK_HISTORY_SERVER_PORT=18080
# Should point to a path where data can be persisted beyond docker restarts, outside of the git source repository
# The specified directory needs to exist before Docker can mount it
#SPARK_CLUSTER_DATA_DIR=
# Optionally uncomment these sql warehouse and hive metastore env vars to use the explicit locations specified below
# If NOT uncommented, config should fall back to matching values in
# 1) These vars' values in local.py LocalConfig directed at a spark-warehouse dir under the project root
# 2) docker-compose.yml not finding these env vars, would ALSO fall back to a spark-warehouse dir under the project root
#SPARK_SQL_WAREHOUSE_DIR=${SPARK_CLUSTER_DATA_DIR}/spark-warehouse
#HIVE_METASTORE_DERBY_DB_DIR=${SPARK_SQL_WAREHOUSE_DIR}/metastore_db
# ==== [MinIO] ====
MINIO_HOST=minio
MINIO_PORT=10001
MINIO_CONSOLE_PORT=10002
MINIO_ROOT_USER=minio_user
MINIO_ROOT_PASSWORD=minio_secret
# Should point to a path where data can be persisted beyond docker restarts, outside of the git source repository
# The specified directory needs to exist before Docker can mount it
MINIO_DATA_DIR=