forked from fedspendingtransparency/usaspending-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
29 lines (23 loc) · 1.08 KB
/
.env
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
## .env file for making variable changes to the docker compose file ##
## run docker-compose config to see the templated variables ##
POSTGRES_USER=usaspending
POSTGRES_PASSWORD=usaspender
## Change to host.docker.internal if you are running a local Postgres. Otherwise leave as-is, so
## Docker will use the Postgres created by Compose.
POSTGRES_HOST=usaspending-db
POSTGRES_PORT=5432
# POSTGRES_CLUSTER_DIR should point to a path outside, or it will be mounted w/Docker
POSTGRES_CLUSTER_DIR=../docker_db
# MATVIEW_SQL_DIR has to be inside of the project (check the docker-compose file)
MATVIEW_SQL_DIR=matview_sql
# Where to connect to elasticsearch.
# Should include scheme (http:// or https://, host, and port (if different than 80 or 443 for HTTP/HTTPS)
ES_HOSTNAME=http://usaspending-es:9200
# ES_CLUSTER_DIR should point to a path outside, or it will be mounted w/Docker
ES_CLUSTER_DIR=../docker_es
# Configuration values for a connection string to a Broker database
# Only necessary for some management commands
BROKER_USER=root
BROKER_PASSWORD=password
BROKER_HOST=broker-db
BROKER_PORT=5432