-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
44 lines (31 loc) · 888 Bytes
/
.env
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
##########
# Section: Server
#############
FASTIFY_ADDRESS=0.0.0.0 # leave also for prod on 0.0.0.0
FASTIFY_PORT=3000 # used by Fastify CLI
FASTIFY_OPTIONS=true
APPLICATION_URL=http://localhost:3000 # used by both main app and ForestAdmin
APPLICATION_PORT=3000 # used by ForestAdmin
##########
# Section: DB
#############
DATABASE_CONNECTION=mongodb://localhost:27017/myapp
DATABASE_TABLE_USERS=users
DATABASE_SSL=false
DATABASE_REJECT_UNAUTHORIZED=false # This should be removed in production environment. (forestAdm)
########
# Section: Auth
###########
# Cors
CORS_ORIGINS=
##########
# Section: ForestAdmin (admin panel)
##########################
FOREST_ENABLED=true
FOREST_ENV_SECRET=your_env_secret
FOREST_AUTH_SECRET=your_auth_secret
FOREST_SCHEMA_DIR=
##########
# Section: Generic
##############
NODE_ENV=