server: port: 8888 spring: application: name: im-platform mvc: pathmatch: matching-strategy: ant_path_matcher datasource: initialSize: 5 minIdle: 5 maxActive: 20 # 配置获取连接等待超时的时间 maxWait: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 timeBetweenEvictionRunsMillis: 60000 # 配置一个连接在池中最小生存的时间,单位是毫秒 minEvictableIdleTimeMillis: 300000 validationQuery: SELECT 1 FROM DUAL testWhileIdle: true testOnBorrow: false testOnReturn: false driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://121.37.9.195:3306/box-im?serverTimezone=CST&allowMultiQueries=true&useUnicode=true&useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&nullCatalogMeansCurrent=true username: root password: Willalp_2023 redis: host: 127.0.0.1 port: 6379 servlet: multipart: max-file-size: 50MB max-request-size: 50MB mybatis-plus: configuration: # 是否开启自动驼峰命名规则 map-underscore-to-camel-case: false log-impl: org.apache.ibatis.logging.stdout.StdOutImpl mapper-locations: - classpath*:mapper/*.xml minio: endpoint: http://60.188.249.11:9002 #内网地址 public: http://60.188.249.11:9002 #外网访问地址 accessKey: AHycb6DC9fH3YNsr9cPW secretKey: uchI4mIGmVFQV9ghbp8u1HYn2i3QB13nfYTRf8vP bucketName: box-im imagePath: image filePath: file videoPath: video webrtc: iceServers: - urls: stun:stun.l.google.com:19302 jwt: accessToken: expireIn: 1800 #半个小时 secret: MIIBIjANBgkq refreshToken: expireIn: 604800 #7天 secret: IKDiqVmn0VFU