localhost_oa_based/.env.production

39 lines
720 B
Plaintext
Raw Normal View History

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
DB_HOST = host.docker.internal
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 = 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 方法以外的所有请求)
2024-03-08 16:24:29 +08:00
IS_DEMO = false