server: port: 9009 spring: jackson: date-format: yyyy-MM-dd HH:mm:ss datasource: url: jdbc:mysql://113.250.189.120:3306/water_detective?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true username: root password: LunHan.20210809 driver-class-name: com.mysql.cj.jdbc.Driver druid: initial-size: 4 #连接池初始化大小 min-idle: 10 #最小空闲连接数 max-active: 20 #最大连接数 web-stat-filter: exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据 stat-view-servlet: #访问监控网页的登录用户名和密码 login-username: druid login-password: lunhan.2023 redis: host: 113.250.189.120 # Redis服务器地址 database: 1 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: luhan123456 # Redis服务器连接密码(默认为空) timeout: 300 # 连接超时时间(毫秒) # invalid in2.4 # maxActive: 1024 # 可用连接实例的最大数目,默认为8,如果赋值为-1,则表示不限制,如果pool已经分配了maxActive个jedis实例,则此时pool的状态为exhausted(耗尽)。 maxIdle: 200 # 制一个pool最多有多少个状态为idle(空闲的)的jedis实例 maxWaitMillis: 10000 # 等待可用连接的最大时间,单位毫秒,默认值为-1,表示永不超时。如果超过等待时间,则直接抛出JedisConnectionException maxTotal: maxTotal #控制一个pool可分配多少个jedis实例,用来替换上面的redis.maxActive,如果是jedis 2.4以后用该属性 logging: file: path: ./logs level: root: info com.lunhan.xxx: info file: uploadBasicPath: /usr/local/nginx/huiwuyun/data fileBasicUrl: https://www.huiwuyuntong.com/data disturbStr: com.lunhan.xxx jdbc-set: sql-log: true