forked from HHS/Head-Start-TTADP
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
76 lines (71 loc) · 2.92 KB
/
.env.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
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
# Copy this file to `.env` and replace "1000:1000" with
# your user id/group id. `.env` is used by docker-compose
# making files created in the docker container owned by
# your host user (instead of root).
# Linux/OSX run `id -u` and `id -g`
CURRENT_USER=1000:1000
LOG_JSON_FORMAT=false
LOG_LEVEL=info
POSTGRES_USERNAME=postgres
POSTGRES_PASSWORD=something_secret
POSTGRES_DB=ttasmarthub
POSTGRES_HOST=localhost
AUTH_CLIENT_ID=tta-smarthub
# Add Oauth client secret for local development. Get value from dev team member
AUTH_CLIENT_SECRET=clientSecret
SESSION_SECRET=secret
TTA_SMART_HUB_URI=http://localhost:3000
AUTH_BASE=https://staging.hses.ohs.acf.hhs.gov
# This env variable should go away soon in favor of TTA_SMART_HUB_URI
REDIRECT_URI_HOST=http://localhost:8080
# CURRENT_USER_ID controls the logged in user when BYPASS_AUTH is set to true.
# This only works in non-production environments
CURRENT_USER_ID=1
# NEW_RELIC_LICENSE_KEY can be omitted in local development
NEW_RELIC_LICENSE_KEY=secret_key
# Set to false to require user to go through auth flow, never true in production envs
BYPASS_AUTH=true
HSES_DATA_FILE_URL=url
HSES_DATA_USERNAME=username
HSES_DATA_PASSWORD=password
# In production, Sequelize instance is created with a postgres URI.
# This URI is automatically dropped into the cloud.gov environment as the env variable DATABASE_URL
DATABASE_URL=secret
# Local development variables to support s3 endpoint development and testing
# Comment this out if you are not using docker
S3_ENDPOINT=http://minio:9000
# Uncomment the following if you aren't using docker for development. Note: This requires minio to be running locally on port 9000
## and manually creating the bucket specified in $S3_BUCKET
# S3_ENDPOINT=http://localhost:9000
S3_BUCKET=ttadp-test
AWS_SECRET_ACCESS_KEY=EXAMPLESECRETKEY
AWS_ACCESS_KEY_ID=EXAMPLEID
MINIO_ROOT_PASSWORD=EXAMPLESECRETKEY
MINIO_ROOT_USER=EXAMPLEID
# if using docker
CLAMAV_ENDPOINT=https://clamav-rest:9443
# if running locally
# CLAMAV_ENDPOINT=http://localhost:8081
REDIS_PASS=SUPERSECUREPASSWORD
# Email Address that notifications should come from
# Uncomment the following two variables if you want to test notifications
# SEND_NOTIFICATIONS=true
# SEND_NON_PRODUCTION_NOTIFICATIONS=true
# SMTP Settings
# For local development, SMTP_HOST is set in docker-compose.override.yml.
# If you are not using docker to run the application, you can set this to localhost
# SMTP_HOST=smtp.test.gov
# SMTP_PASS=supersecurepassword
# SMTP_PORT=465
# SMTPSECURE should be set to true if SMTPPORT is 465. Otherwise it should be false
# SMTP_SECURE=true
# The following settings are for use with MailCatcher for local development.
# For local development, SMTP_HOST is set in docker-compose.override.yml.
# If you are not using docker to run the application, you can set this to localhost
# SMTP_HOST=localhost
SMTP_USER=''
SMTP_PASS=''
SMTP_PORT=1025
SMTP_SECURE=false