smtweb: machine-id: 1 file: local-path: /data/files/ host: http://127.0.0.1 url: http://127.0.0.1:8888/files/ db: default: rule: prefix: _smt_ replace: smt_ server: port: 8888 servlet: context-path: / feign: hystrix: enabled: false logging: level: root: INFO cc.smtweb: DEBUG spring: # 设置服务名 application: name: smtweb_user main: allow-bean-definition-overriding: true banner-mode: console mvc: static-path-pattern: /static/** redis: host: 127.0.0.1 port: 6379 password: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/smt_user?useUnicode=true&characterEncoding=utf-8&useTimezone=true&serverTimezone=CTT&allowMultiQueries=true username: root password: 1681860 # 连接池配置 hikari: pool-name: HikariPool minimum-idle: 10 maximum-pool-size: 100 connection-timeout: 60000 idle-timeout: 600000 max-lifetime: 1800000 servlet: multipart: max-file-size: 104857600000 max-request-size: 10485760000000 profiles: include: role cache: type: caffeine cache-names: - core caffeine: spec: maximumSize=1024,expireAfterWrite=2h