-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.development.sample
42 lines (35 loc) · 1.14 KB
/
.env.development.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
NODE_ENV=development
# ==== Server specific ====
SERVER_HOST=localhost
SERVER_PORT=8030
SERVER_LOGGING=false
# ==== Plugin: CORS ====
SERVER_CORS_ORIGINS=["${SERVER_HOST}"]
# ==== Plugin: Session specific ====
SESSION_SECRET=<ADD_YOUR_REQUIRED_SECRET_HERE>
# ==== Plugin: Rate limiter ====
# The maximum number of requests a single client can perform inside a timeWindow.
RATE_LIMITER_MAX_REQUESTS=1000
# The duration of the time window.
# It can be expressed in milliseconds or as a string (in the ms format)
RATE_LIMITER_TIME_WINDOW=60
# ==== Plugin: JWT configuration ====
JWT_SECRET=<ADD_YOUR_REQUIRED_SECRET_HERE>
JWT_ISSUER=http://${SERVER_HOST}
JWT_AUDIENCE=http://${SERVER_HOST}
JWT_EXPIRES_IN=7d
#JWT_SECRET_PRIVATE_KEY=
#JWT_SECRET_PUBLIC_KEY=
# ==== Plugin: Internationalization ====
I18N_LANGUAGES=["en"]
I18N_DEFAULT_LANGUAGE=en
I18N_DEBUG_MISSING=true
I18N_DEBUG_OTHER=false
# ==== Plugin: Sequelize ====
SEQUELIZE_DIR=@app/sequelize
SEQUELIZE_DIALECT=postgres
# Not supported by MySQL or MariaDB
SEQUELIZE_SCHEMAS=['public']
SEQUELIZE_LOGGING=true
SEQUELIZE_LOG_QUERY_PARAMETERS=${SEQUELIZE_LOGGING}
SEQUELIZE_BENCHMARK=${SEQUELIZE_LOGGING}