generated from Xen0Xys/NestJS-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.ci
63 lines (53 loc) · 1.33 KB
/
.env.ci
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
# ci
# API settings
HTTP_PORT=3000
HTTPS_PORT=3001
BIND_ADDRESS=0.0.0.0
# SERVER_TYPE can be http, https or both
SERVER_TYPE=http
PREFIX=/api/v1
# SSL settings
SSL_KEY_FILE=keys/server.key
SSL_CERT_FILE=keys/server.crt
# JWT Security
AT_DURATION=30d
AT_KEY=private_key
RT_DURATION=30d
RT_KEY=private_key
MAX_SESSIONS=100
# Verification code
VC_DURATION=5# In minutes
VERIFICATION_LINK=http://localhost:3000/verify
# Password recovery
PR_DURATION=5# In minutes
PASSWORD_RECOVERY_LINK=http://localhost:3000/recover
# Email settings
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_PASSWORD=password
# Encryption
SYMMETRIC_ENCRYPTION_KEY=encryption_key
ASYMMETRIC_ENCRYPTION_KEY=encryption_key
# Encryption strength
USER_SECRETS_ENCRYPTION_STRENGTH=10000
USERS_ENCRYPTION_STRENGTH=10000
BANKS_ENCRYPTION_STRENGTH=10000
LEDGERS_ENCRYPTION_STRENGTH=10000
RECURRING_TRANSACTIONS_ENCRYPTION_STRENGTH=10000
ACCOUNTS_ENCRYPTION_STRENGTH=10000
TASKS_ENCRYPTION_STRENGTH=10000
TODO_LISTS_ENCRYPTION_STRENGTH=10000
TRANSACTION_CATEGORIES_ENCRYPTION_STRENGTH=10000
TRANSACTIONS_ENCRYPTION_STRENGTH=10000
# Maintenance
ADMIN_SECRET=secret
DATABASE_URL="file:database.db"
# Caching
REDIS_URL=# Leave empty to disable redis caching
REDIS_PASSWORD=password
# Caching TTL
USER_CACHE_TTL=0
TOKEN_CACHE_TTL=0
TODO_CACHE_TTL=0
TODO_LIST_CACHE_TTL=0