forked from janishar/nodejs-backend-architecture-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
42 lines (31 loc) · 801 Bytes
/
.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
# .env.example
# Environment Name
NODE_ENV=development
# Server listen to this port
PORT=3000
#Cors
CORS_URL=*
# Databse
# YOUR_MONGO_DB_NAME
DB_NAME=afteracademy-blog-db
#localhost or IP of the server
# If using the docker installation then use 'mongo' for host name else localhost or ip or db server
#YOUR_MONGO_DB_HOST_NAME
DB_HOST=mongo
DB_PORT=27017
#YOUR_MONGO_DB_USER_NAME
DB_USER=afteracademy-blog-db-user
#YOUR_MONGO_DB_USER_PWD
DB_USER_PWD=changeit
# Admin of mongo db when using Docker
DB_ADMIN=admin
DB_ADMIN_PWD=changeit
# Log
# Example '/home/node/logs'
# DEFAUlT is this project's directory
# LOG_DIR=YOUR_DIRECTORY_PATH_FOR_LOG_FILES
# Token Info
ACCESS_TOKEN_VALIDITY_DAYS=30
REFRESH_TOKEN_VALIDITY_DAYS=120
TOKEN_ISSUER=afteracademy.com
TOKEN_AUDIENCE=afteracademy.com