-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
127 lines (104 loc) · 2.79 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# Default environment variables for all environments.
# Environment variables from system has higher priority than any ".env" files.
# Priority: system > .env.local > .env
# Priority for tests: system > .env.test.local > .env.test > .env
# Application supports variables in environment variables.
# Example:
# APP_URL=mywebsite.com
# SUPPORT_EMAIL=support@${APP_URL}
# Description: Application name. Used in logs.
# Type: string
# Default: NEST
APP_NAME=WAISY
# Description: Node environment
# Type: string
# Options: production, development, test
# Default: production
NODE_ENV=production
# Description: Port to run the server on
# Type: number
# Default: 3000
PORT=3000
# Description: Logger level
# Type: string
# Options: debug, info, warn, error, fatal
# Default: warn
LOGGER_LEVEL=warn
# Description: Logger format
# Type: string
# Options: json, pretty
# Default: json
LOGGER_FORMAT=json
# Description: JWT access secret token
# Type: string
# Required: true
# Min length: 128
JWT_ACCESS_SECRET_TOKEN=
# Description: JWT access token expiration time
# Type: string
# Example: "2d", "10h", "60s"
# Default: 1h
JWT_ACCESS_TOKEN_EXPIRES_IN=1h
# Description: JWT refresh secret token
# Type: string
# Required: true
# Min length: 128
JWT_REFRESH_SECRET_TOKEN=
# Description: JWT refresh token expiration time
# Type: string
# Example: "2d", "10h", "60s"
# Default: 60d
JWT_REFRESH_TOKEN_EXPIRES_IN=60d
# Description: GraphQL max complexity
# Type: number
# Min: 1
# Default: 100
GRAPHQL_COMPLEXITY_LIMIT=100
# Description: PostgreSQL username
# Type: string
# Required: true
POSTGRES_USERNAME=
# Description: PostgreSQL password
# Type: string
# Required: true
POSTGRES_PASSWORD=
# Description: PostgreSQL host
# Type: string
# Required: true
POSTGRES_HOST=
# Description: PostgreSQL port
# Type: number
# Required: true
POSTGRES_PORT=5432
# Description: PostgreSQL database name
# Type: string
# Required: true
POSTGRES_DATABASE=
# Description: PostgreSQL synchronize. Not for production!
# Type: boolean
# Default: false
POSTGRES_SYNCHRONIZE=false
# Description: PostgreSQL migrations run while the application is starting.
# Type: boolean
# Default: false
POSTGRES_MIGRATIONS_RUN=false
# Description: Email verification code lifetime in minutes
# Type: number
# Default: 10
EMAIL_VERIFICATION_CODE_LIFETIME_MINUTES=10
# Description: Email verification code max attempts for last lifetime period
# Type: number
# Default: 3
EMAIL_VERIFICATION_CODE_MAX_SENDING_ATTEMPTS=3
# Description: Email verification code max input attempts for last lifetime period
# Type: number
# Default: 3
EMAIL_VERIFICATION_CODE_MAX_INPUT_ATTEMPTS=3
# Description: Unisender API key
# Type: string
# Required: true
UNISENDER_API_SECRET_KEY=
# Description: Should we use Apollo Playground
# Type: boolean
# Default: false
APOLLO_PLAYGROUND=false