application.yml 1.11 KB
eureka:
  client:
    serviceUrl:
      defaultZone: http://127.0.0.1:8761/eureka
  instance:
    instance-id: ${spring.cloud.client.ip-address}:${server.port}
    prefer-ip-address: true
    statusPageUrl: http://127.0.0.1:8002/swagger-ui.html
logging:
  file:
    max-history: 15
    max-size: 300MB
    path: d:/data/logs/nafmii-app/
  level:
    root: info
  pattern:
    dateformat: yyyy-MM-dd hh:MM:ss
mybatis:
  mapper-locations: classpath:mapper/*.xml
server:
  port: 8002
spring:
  application:
    name: nafmii-app
  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
  redis:
    # Redis数据库索引(默认为0)
    database: 0
    # Redis服务器地址
    host: 127.0.0.1
    port: 6379
    # Redis服务器连接密码(默认为空)
    password:
    jedis:
      pool:
        # 连接池最大连接数(使用负值表示没有限制)
        max-active: 20
        max-wait: -1ms
        max-idle: 10
        min-idle: 0
    timeout: 1000ms