forked from fedspendingtransparency/usaspending-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
27 lines (22 loc) · 971 Bytes
/
.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
## .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
# 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_HOST=http://usaspending-es
ES_PORT=9200
# 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
# Use env var to toggle Django's DEBUG mode for local docker envs
DJANGO_DEBUG=False