-
Notifications
You must be signed in to change notification settings - Fork 362
/
.env.production
37 lines (31 loc) · 718 Bytes
/
.env.production
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
# logger
LOGGER_LEVEL = debug
# security
JWT_SECRET = admin!@#123
JWT_EXPIRE = 86400 # 单位秒
REFRESH_TOKEN_SECRET = admin!@#123
REFRESH_TOKEN_EXPIRE = 2592000
# swagger
SWAGGER_ENABLE = true
SWAGGER_PATH = api-docs
SWAGGER_VERSION = 1.0
# db
DB_HOST = host.docker.internal
DB_PORT = 13307
DB_DATABASE = nest_admin
DB_USERNAME = root
DB_PASSWORD = root
DB_SYNCHRONIZE = false
DB_LOGGING = ["error"]
# redis
REDIS_PORT = 6379
REDIS_HOST = host.docker.internal
REDIS_PASSWORD = 123456
REDIS_DB = 0
# smtp
SMTP_HOST = smtp.163.com
SMTP_PORT = 465
SMTP_USER = [email protected]
SMTP_PASS = VIPLLOIPMETTROYU
# 是否为演示模式(在演示模式下,会拦截除 GET 方法以外的所有请求)
IS_DEMO = true