application-local.yaml 1.12 KB
spring:

  jpa:
    properties:
      hibernate:
        dialect: org.hibernate.dialect.MySQLDialect
    hibernate:
      use-new-id-generator-mappings: false
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
#    driver-class-name: com.mysql.cj.jdbc.Driver

    #    url: jdbc:mysql://43.142.42.187:8908/oc-pay?useUnicode=true&characterEncoding=utf-8&useSSL=false
#    username: pay
#    password: eDDxWJfwYsDhRELD!
    url: jdbc:mysql://data.forcetv.com.cn:3306/oc-pay?useUnicode=true&characterEncoding=utf-8&useSSL=false
    username: fang
    password: Bbs!q@lp(#

    maximum-pool-size: 100
    max-idle: 10
    max-wait: 10000
    min-idle: 5
    initial-size: 5
    test-on-borrow: false
    test-while-idle: true
    time-between-eviction-runs-millis: 18800
    validation-query: SELECT 1

  redis:
    database: 8
    host: 43.142.42.187
    port: 8979
    timeout: 2000
    password: eDDxWJfwYsDhRELD
    jedis:
      pool:
        max-active: 80
        max-idle: 40
        max-wait: 50
        min-idle: 20

server:
  port: 8081

## DEBUG
#logging:
#  level:
#    com:
#      forcetv: trace
#  config: classpath:logback.xml