-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env.example
62 lines (56 loc) · 894 Bytes
/
.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
#
# APPLICATION
#
APP_NAME=todo-api-node
APP_SCHEMA=http
APP_HOST=localhost
APP_PORT=3000
APP_ROUTE_PREFIX=/api
APP_BANNER=true
#
# LOGGING
#
LOG_LEVEL=debug
LOG_JSON=false
LOG_OUTPUT=dev
#
# AUTHENTIFICATION
#
AUTH_JWT_CACHE=true
AUTH_JWT_RATE_LIMIT=true
AUTH_JWKS_REQUEST_PER_MINUTE=5
AUTH_JWKS_URI=https://example.eu.auth0.com/.well-known/jwks.jso
AUTH_ISSUER=https://example.eu.auth0.com/
AUTH_ALGORITHMS=RS256
#
# DATABASE
#
DB_TYPE=mysql
DB_HOST=localhost
DB_PORT=3306
DB_USERNAME=root
DB_PASSWORD=
DB_DATABASE=my_database
DB_SYNCHRONIZE=false
DB_LOGGING=false
#
# GraphQL
#
GRAPHQL_ENABLED=true
GRAPHQL_ROUTE=/graphql
GRAPHQL_EDITOR=true
#
# Swagger
#
SWAGGER_ENABLED=true
SWAGGER_ROUTE=/swagger
SWAGGER_FILE=api/swagger.json
SWAGGER_USERNAME=admin
SWAGGER_PASSWORD=1234
#
# Status Monitor
#
MONITOR_ENABLED=true
MONITOR_ROUTE=/monitor
MONITOR_USERNAME=admin
MONITOR_PASSWORD=1234