-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
65 lines (39 loc) · 1.12 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
NODE_ENV = "development" # "development" || "staging" || "production"
APP_NAME = "Fluxync (Development)"
#--- --- --- --- --- --- ---#
# --- Database
DB_USERNAME = "root"
DB_PASSWORD = ""
DB_DATABASE = "db_fluxync" # this variable concating with ("_", NODE_ENV), so is depends on NODE_ENV
DB_DIALECT = "mysql"
DB_HOST = "127.0.0.1"
DB_PORT = 3306
DB_LOGGING = false
#--- --- --- --- --- --- ---#
# --- --- Server
# --- Thread
SERVER_THREADS = 1
# --- Server Listen
IP = '0.0.0.0'
PORT = 3002 # production: 7000 || staging: 7001 || development: 7002
SERVER_HOST = http://localhost
SERVICE_NSFW_DETECTOR = http://localhost:7300
#--- --- --- --- --- --- ---#
# --- --- API Configuration
# Middlewares
MIDDLEWARE_ORIGIN = '*'
MIDDLEWARE_JSON_LIMIT_SIZE = '50mb'
API_VERSION = 'v1'
# Logger
LOG_REQUEST = 'full' # full, medium, false
WEB_HOST = https://fluxync.sersow.com
#--- --- --- --- --- --- ---#
# --- --- --- JWT
# --- --- Config
JWT_TOKEN_SECRET = ''
JWT_TOKEN_EXPIRED = '1h'
#--- --- --- --- --- --- ---#
# --- NODEMAILER
MAIL_EMAIL = '[email protected]'
MAIL_ETHEREAL_PASSWORD = ''
#--- --- --- --- --- --- ---#