spring:
  redis:
    database: 1
    host: redis
    port: 6379
    password: wvK5mleB7WqNbIAY9t2QxdVJhpHUDSyT
    #timeout: 6000ms  # 连接超时时长（毫秒）
  datasource:
    druid:
      url: jdbc:mysql://mysql:3306/fast_boot?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
      username: fast
      password: 123456
      initial-size: 1
      min-idle: 1
      max-active: 1
      max-wait: 6000
      min-evictable-idle-time-millis: 600000
      max-evictable-idle-time-millis: 900000
      validation-query: SELECT 1
      test-on-borrow: false
      test-on-return: false
      test-while-idle: true
      stat-view-servlet:
        enabled: true
        url-pattern: /druid/*
        login-username: admin
        login-password: admin
      filter:
        stat:
          log-slow-sql: true
          slow-sql-millis: 1000
          merge-sql: false
        wall:
          config:
            multi-statement-allow: true
