-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
68 lines (46 loc) · 1.21 KB
/
.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
GIN_MODE = release
API_CONFIG_PORT=8080
API_CONFIG_REQUEST_TIMEOUT=10
REDIS_URL=localhost:6379
REDIS_PASSWORD=1234
DATABASE_URL=mongodb://localhost:27017
DATABASE_NAME=Lift
# Core API
CORE_URL=<URL>
# Tokens Expiry in seconds
ACCESS_EXP=18000
REFRESH_EXP=20000
SECRET_KEY=2022
LOG_FILE_PATH=
LOG_FILE_NAME=src/logs/lift-api.log
LOG_LEVEL=DEBUG
# templates and app data
APP_DATA_PATH=<FOLDER_NAME>
# Refresh Permission Set Interval in Seconds
API_CONFIG_REFRESH_PERMISSIONS_INTERVAL=60
API_CONFIG_REFRESH_ROLES_INTERVAL=60
API_CONFIG_REFRESH_MASKING_FIELDS_INTERVAL=60
# Email Sender
EMAIL_HOST=<MAIL SERVER>
EMAIL_PORT=<PORT>
FROM_EMAIL=<EMAIL>
FROM_EMAIL_PASSWORD=<PASSWORD>
# Verification Code Expiration in minutes
EMAIL_VERIFICATION_EXP=5
# SMS Sender
SMS_HOST=<URL>
SMS_PORT=<PORT>
SMS_SRC=<SENDER_ID>
SMS_USERNAME=<USERNAME>
SMS_PASSWORD=<PASSWORD>
# OTP Expiration in minutes
OTP_EXP=5
# OTP Attempts Expiration in minutes
OTP_ATTEMPT_EXP=5
# Password Reset Link and Expiration in minutes
RESET_LINK=<PASSWORD REST LINK>
RESET_LINK_EXP=10
# Usage Statistics Update Lock timeout
USAGE_STATISTICS_UPDATE=5
# DateTime Location
TIME_ZONE=Asia/Colombo