39 lines
720 B
Plaintext
39 lines
720 B
Plaintext
# 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 = hxoa
|
|
DB_USERNAME = root
|
|
DB_PASSWORD = huaxin123
|
|
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 = nest_admin@163.com
|
|
SMTP_PASS = VIPLLOIPMETTROYU
|
|
|
|
# 是否为演示模式(在演示模式下,会拦截除 GET 方法以外的所有请求)
|
|
IS_DEMO = false
|
|
|