-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.development
58 lines (52 loc) · 889 Bytes
/
.env.development
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
#
# APPLICATION
#
APP_HOST=localhost
APP_PORT=3000
APP_ROUTE_PREFIX=/api/v1
NODE_ENV=development
$
# JWT
#
ACCESS_TOKEN_SECRET=noghan
REFRESH_TOKEN_SECRET=noghan
ACCESS_TOKEN_EXPIRY_TIME=2m
REFRESH_TOKEN_EXPIRY_TIME=10h
HTTP_ONLY=false
SECURE_COOKIE=false
#
# LOGGING
#
LOG_LEVEL=debug
LOG_OUTPUT=dev
#
# MongoDB DATABASE
#
TYPEORM_CONNECTION=mongodb
TYPEORM_HOST=localhost
TYPEORM_PORT=27017
TYPEORM_USERNAME=e_store
TYPEORM_PASSWORD=e_store
TYPEORM_DATABASE=e_store
TYPEORM_SYNCHRONIZE=true
TYPEORM_LOGGING=true
#
# PATH STRUCTRUE
#
TYPEORM_MIGRATIONS=/src/database/migrations/**/*.ts
TYPEORM_MIGRATIONS_DIR=/src/database/migrations
TYPEORM_ENTITIES=/src/entities/*.ts
#
# Swagger
#
SWAGGER_ENABLED=true
SWAGGER_ROUTE=/swagger
SWAGGER_USERNAME=admin
SWAGGER_PASSWORD=1234
#
# Status Monitor
#
MONITOR_ENABLED=true
MONITOR_ROUTE=/monitor
MONITOR_USERNAME=admin
MONITOR_PASSWORD=1234