# 应用服务 WEB 访问端口 server: port: 19801 knife4j: #开启生产环境屏蔽 production: true minio: # endpoint: http://192.168.10.135:9000 ak: AKIAIOSFODNN7EXAMPLE sk: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKE bucket: windmill dir: store/abnormal-sound/ source-dir: store/abnormal-sound/source/ spring: datasource: dynamic: primary: slave datasource: #中心测 master: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://10.68.208.94:8639/iip_api_service?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true username: root password: 123456 #边缘测 slave: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://10.68.208.94:8639/iip_api_service?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true username: root password: fbLfJZ1sFMAw druid: initial-size: 5 min-idle: 5 maxActive: 20 # 配置获取连接等待超时的时间 maxWait: 60000 # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 timeBetweenEvictionRunsMillis: 6000 # 配置一个连接在池中最小生存的时间,单位是毫秒 minEvictableIdleTimeMillis: 60000 # 配置一个连接在池中最大生存的时间,单位是毫秒 maxEvictableIdleTimeMillis: 900000 access-to-underlying-connection-allowed: