-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
34 lines (26 loc) · 1.18 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
# TEMPLATE FILE - Below are the all enviroment variable (with default values) that need to work this program smoothly.
# CREATE NEW FILE CALLED ".env" and Pass necessary values to these variables.
# Since these .env files are being used by various applicatin (ex.Docker, App) declaration format must be exactly like below.
# DBNAME=hackerbay <---- RIGHT
# DBNAME = hackerbay <---- WRONG
# DBNAME="hackerbay" <---- WRONG
# For Kubernetes Cluster Docker Images these values should be provided in secret config. (See this projects Kubernets repo.)
NODE_ENV=development
PORT=4000 # Specifiy which PORT backend should be run on and also expose it in docker container.
CORS_WHITE_LIST=http://localhost:3000 #Specify which hosts can acccess this backend. (Comma Seperated List Ex:- "http://localhost:3000, http://mydomain.com")
# Postgres Database Specifics
DBNAME=hackerbay
DBUSERNAME=devadmin
DBPASSWORD=devadmin
DBHOST=db
# Token Generting Specifics
JWTSECRET=mySuperSecretsP4$$w0rD
JWTEXPIRES=3600s
# Twilio SMS API Specifics
TWILIO_SID=
TWILIO_TOKEN=
TWILIO_NUMBER=
# Docker & Code Coverage Specifics (Mostly needed in CI enviroments)
DOCKER_USERNAME=
DOCKER_PASSWORD=
CODECOV_TOKEN=