server:
  port: 8080
  servlet:
    context-path: /

spring:
  datasource:
    # url: jdbc:mysql://192.168.1.102:3308/genome1_db?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
    # username: app_user
    # password: "NewSecurePassword123"
    url: jdbc:mysql://192.168.1.102:3310/biology?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
    username: bicloud
    password: "Admin_Complex_Pass2024!"
    driver-class-name: com.mysql.cj.jdbc.Driver
    hikari:
      connection-timeout: 30000
      maximum-pool-size: 10
      minimum-idle: 5
  data:
      redis:
        host: 127.0.0.1
        port: 6379
        password: 123456
        database: 2
        lettuce:
          pool:
            max-active: 10
            max-idle: 10
            min-idle: 1
            time-between-eviction-runs: 10s

mybatis:
  mapper-locations: classpath*:mapper/*.xml
  type-aliases-package: com.genepioneer.pojo.entity
  configuration:
    map-underscore-to-camel-case: true
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

springdoc:
  default-flat-param-object: true
  api-docs:
    enabled: true
  swagger-ui:
    enabled: true
    path: /swagger-ui.html

knife4j:
  enable: true
  setting:
    language: zh-CN

logging:
  level:
    com.genepioneer.mapper: debug

jwt:
  secret: bicloud-jwt-secret-key-2024-spring-boot-application-secure-token-generation
  access-token-expiration: 7200
  refresh-token-expiration: 604800
  token-header: Authorization
  token-prefix: "Bearer "
