-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env
53 lines (45 loc) · 997 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
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
# dev || test || production
NODE_ENV=dev
# Server Config
API_PORT=4000
TEST_API_PORT=4878
JWT_EXPIRE_TIME=24h
REMEMBER_JWT_EXPIRE_TIME=48h
# 24h in ms
COOKIE_EXPIRE_TIME=86400000
DEFAULT_NUMBER_OF_ROOMS=50
WEB_URL=localhost:3000
# Email Config
JWT_VERIFY_EMAIL_EXPIRE_TIME=24hr
JWT_RESET_PASSWORD_EXPIRE_TIME=1hr
# Logging Config
# Options: [error, warn, info, http, debug]
CONSOLE_LOG_LEVEL=debug
FILE_LOG_LEVEL=debug
# Postgres database Config
PG_HOST=localhost
PG_PORT=5477
PG_USER=bridge_user
PG_PASSWORD=bridge_password
PG_DB_NAME=bridge_db
PG_VERSION=12.2
PG_POOL_MIN=2
PG_POOL_MAX=10
# Mongo database Config
MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_DB=bridge_archive
MONGO_USER=bridge_user
MONGO_PASSWORD=bridge_password
MONGO_DB_NAME=mongo_db
# Redis config
REDIS_HOST=localhost
REDIS_PORT=6379
# Test database
TEST_PG_HOST=localhost
TEST_PG_PORT=5478
TEST_PG_DB_NAME=bridge_db_test
# DigitalOcean Spaces
SPACES_REGION=nyc3
SPACES_BUCKET=ebridge-images
SPACES_ENV_FOLDER=local