application-dev.yml 1.16 KB
eureka:
  client:
    serviceUrl:
      defaultZone: http://127.0.0.1:20000/eureka
  instance:
    instance-id: ${spring.cloud.client.ip-address}:${server.port}
    prefer-ip-address: true
    statusPageUrl: http://127.0.0.1:21000/swagger-ui.html
logging:
  config: classpath:logback-spring.xml
mybatis:
  mapper-locations: classpath:mapper/*.xml
spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    password: Moxi123#
    url: jdbc:mysql://114.112.96.30:30029/NAFMII_2.1?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
    username: root
    type: com.zaxxer.hikari.HikariDataSource
    hikari:
      maximum-pool-size: 50
      minimum-idle: 10
      idle-timeout: 60000
      auto-commit: true
      connection-timeout: 3000
      pool-name: NFMII_HikariCP
      connection-test-query: SELECT 1
  zipkin:
    base-url: http://localhost:9411
    enabled: true
    sleuth:
      web:
        client:
          enabled: true
      sampler:
        probability: 1.0  #zipkin采集率  0.1表示 10%采集率
nafmii:
  log-path: D:/NAFMII
  dao-uri: org.nafmii.admin
  ftp:
      host: 127.0.0.1
      password: peng1003
      prot: 21
      username: ypenglv