2024-02-28 08:32:35 +08:00
|
|
|
# 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
|
2024-03-22 16:47:26 +08:00
|
|
|
DB_HOST = 192.168.60.39
|
2024-02-28 08:32:35 +08:00
|
|
|
DB_PORT = 13307
|
2024-02-28 11:53:50 +08:00
|
|
|
DB_DATABASE = hxoa
|
2024-02-28 08:32:35 +08:00
|
|
|
DB_USERNAME = root
|
2024-02-28 11:53:50 +08:00
|
|
|
DB_PASSWORD = huaxin123
|
2024-02-28 08:32:35 +08:00
|
|
|
DB_SYNCHRONIZE = true
|
2024-02-28 15:07:47 +08:00
|
|
|
DB_LOGGING = "all"
|
2024-02-28 08:32:35 +08:00
|
|
|
|
|
|
|
# redis
|
|
|
|
REDIS_PORT = 6379
|
2024-03-22 16:47:26 +08:00
|
|
|
REDIS_HOST = 192.168.60.39
|
2024-02-28 08:32:35 +08:00
|
|
|
REDIS_PASSWORD = 123456
|
|
|
|
REDIS_DB = 0
|
|
|
|
|
|
|
|
# smtp
|
|
|
|
SMTP_HOST = smtp.163.com
|
|
|
|
SMTP_PORT = 465
|
|
|
|
SMTP_USER = nest_admin@163.com
|
|
|
|
SMTP_PASS = VIPLLOIPMETTROYU
|
2024-03-07 16:28:03 +08:00
|
|
|
|