springcloud 生产者

server:
  port: 8088
  servlet:
    context-path: /springboot/ # 项目的整体前缀
spring:
  application:
    name: springcloud-spingboot8088

eureka:
  instance:
    #将自己的ip地址注册到eureka服务中
    prefer-ip-address: true
  client:
    registerWithEureka: true
    fetchRegistry: false
    serviceUrl:
      defaultZone: http://root:123456@localhost:8080/eureka/
    enabled: true

logging:
  file: ./springcloud-spingboot/log
  level:
    com.quartz: DEBUG

  

猜你喜欢

转载自www.cnblogs.com/ynhk/p/11301019.html