#开发环境配置
|
|
server:
|
# 服务端口
|
port: 5000
|
|
|
spring:
|
# 数据源配置,请修改为你项目的实际配置
|
datasource:
|
username: "root"
|
password: "CloudRoam"
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
url: jdbc:mysql://47.96.225.205:3306/pms_test?useSSL=false&serverTimezone=UTC&characterEncoding=UTF8&serverTimezone=GMT%2B8
|
|
hikari:
|
connection-test-query: SELECT 1
|
connection-timeout: 60000
|
idle-timeout: 300000
|
max-lifetime: 60000
|
minimum-idle: 10
|
maximum-pool-size: 50
|
|
servlet:
|
multipart:
|
max-file-size: 10000MB
|
max-request-size: 20000MB
|
|
jackson:
|
time-zone: GMT+8
|
|
|
#minio配置
|
minio:
|
url: http://192.168.1.201:9000/ #对象存储服务的URL
|
accessKey: admin #Access key账户
|
secretKey: cloudroam123456 #Secret key密码
|
|
# 开启权限拦截
|
auth:
|
enabled: true
|
|
# 开启登录要求验证码
|
login-captcha:
|
enabled: false
|
secret: "m49CPM5ak@MDXTzbbT_ZEyMM3KBsBn!h"
|
|
# 开启http请求日志记录
|
request-log:
|
enabled: true
|
|
|
|
|
logging:
|
level:
|
# web信息日志记录
|
web: DEBUG
|
# SQL日志记录
|
com.cloudroam.mapper: DEBUG
|
|
front:
|
url: http://192.168.1.201:6799/
|