generated from AlessioScarfone/ts-express-rest-api-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.sample
56 lines (47 loc) · 938 Bytes
/
env.sample
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
# This is a sample .env file.
# Duplicate this file as .env in the root of the project
# and update the environment variables to match your
# desired config
NODE_ENV=production
PORT=8080
#
# Admin
#
ADMIN_USERNAME=admin
ADMIN_PASSWORD=secret
#
# Redis
#
REDIS_URL=redis://127.0.0.1:6379
# REDIS_URL=redis://default:[email protected]:6379
REDIS_QUEUE_RECOGNIZE=recognize_
REDIS_EXPIRACY=600 #10 min
#
# Bull Monitor
#
BULL_MONITOR_ENABLED=true
BULL_MONITOR_ROUTE=/admin/bull
#
# Swagger
#
SWAGGER_ENABLED=true
SWAGGER_ROUTE=/admin/api-docs
SWAGGER_SHOW_ADMIN_SECTION=true
#
# Rapid API
#
RAPID_API_PROXY_SECRET=rapid_api_secret
#
# LOG
#
LOG_TESSERACT_CORE_ENABLED=false
#
# FILE SIZE LIMIT
#
FILE_SIZE_LIMIT_BYTE_BASIC=1000000 #1mb
FILE_SIZE_LIMIT_BYTE_PRO=3000000 #3mb
#
# WAKE UP SETTING
#
HEALTH_URL=http://localhost:8080/admin/health
WAKE_UP_TIME=840000 #14 minuti