application.yml配置模版

server:
  port: 8081
spring:
  application:
    name: item-service
  datasource:
    url: jdbc:mysql://localhost:3306/hm49?serverTimezone=PRC&useUnicode=true&characterEncoding=utf8&useSSL=false
    username: root
    password: 123456
eureka:
  client:
    service-url:
      defaultZone: http://localhost:10086/eureka
  instance:
    lease-expiration-duration-in-seconds: 5
    lease-renewal-interval-in-seconds: 15
mybatis:
  type-aliases-package: com.leyou.item.pojo
上一篇:解析linux-dhcp服务器IP分配情况python脚本


下一篇:HDFS NameNode内存全景