-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.template
28 lines (22 loc) · 1.01 KB
/
.env.template
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
# All environment variable loaded by the app is here.
# `expandVariables` must be set to `true` to make variable work.
# To adjust with local environment, save as `.env` and change accordingly.
# NODE_ENV is NodeJs standard convention to set the mode
# https://nodejs.dev/en/learn/nodejs-the-difference-between-development-and-production/
# For e2e test, it will be override by `./test/setup-env.ts`.
# This should be set on system
# https://dev.to/raphaelbadia/how-to-avoid-and-debug-most-of-timezone-problems-in-production-2h1l
TZ=UTC
APP_ENV=${NODE_ENV:-development} # options: 'development', 'production', 'staging', 'test'
APP_NAME='Pesat Management System'
APP_DESCRIPTION='Sesuai nama.'
APP_URL='http://localhost:${APP_PORT}'
APP_PORT=3000
APP_SALT=secretvalueshouldbekeepsecret # Required to be set up
MARIADB_HOST=127.0.0.1
MARIADB_PORT=3306
MARIADB_USER=mariadb
MARIADB_PASSWORD=password # Required to be set up
MARIADB_DATABASE=pesat
JWT_SECRET=secretvalueshouldbekeepsecret # Required to be set up
JWT_EXPIRES_IN=3600