server: port: 33060 servlet: context-path: /kq spring: mvc: pathmatch: matching-strategy: ant_path_matcher session: store-type: redis redis: namespace: "spring:session" timeout: 864000 redis: timeout: 5000 host: 47.98.125.47 port: 26379 database: 7 password: Ndkj1234 jedis: pool: max-active: 200 max-idle: 500 min-idle: 8 max-wait: 10000 application: name: kq jackson: default-property-inclusion: non_null time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss jpa: properties: hibernate: default_schema: PUBLIC hbm2ddl: auto: update show_sql: true show-sql: true hibernate: ddl-auto: update datasource: type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://47.98.125.47:3306/kqzzsfw?serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowPublicKeyRetrieval=true&useSSL=false username: root password: NingdaKeji123! # 数据源 hikari: # 是客户端等待连接池连接的最大毫秒数 connection-timeout: 30000 # 是允许连接在连接池中空闲的最长时间 minimum-idle: 5 # 配置最大池大小 maximum-pool-size: 300 # 是允许连接在连接池中空闲的最长时间(以毫秒为单位) idle-timeout: 60000 # 池中连接关闭后的最长生命周期(以毫秒为单位) max-lifetime: 600000 # 配置从池返回的连接的默认自动提交行为。默认值为true。 auto-commit: true # 开启连接监测泄露 leak-detection-threshold: 10000 # 测试连接数据库 connection-test-query: SELECT 1 #设置上传 单个文件的大小 servlet: multipart: max-file-size: 100MB max-request-size: 150MB mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl global-config: db-config: logic-delete-value: true logic-not-delete-value: false logging: config: classpath:logback-spring.xml #日志配置 level: root: info file: path: logs nd: cache: type: REDIS serializerType: ProtoStuff cacheNullVal: true def: keyPrefix: kq log: enabled: true type: DB # 文件存储 file: storage-type: ALI_OSS ali: protocol: https:// bucket: devplat urlPrefix: oss-cn-hangzhou.aliyuncs.com endpoint: oss-cn-hangzhou.aliyuncs.com accessKeyId: LTAI4GL7uypycnBjiRn55rMG accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98 # 日志文件配置 log: path: ./logs info: file-size: 50MB max-size: 5 total-size: 200MB error: file-size: 10MB max-size: 5 total-size: 50MB swagger: enabled: true hostname: iZbp13nwyvib53j4j1p2xoZ