forked from kidgrow-microservices-platform

zhaoxiaohao
2020-09-23 1498c20c89ce925c8de48811044c09abacc004aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server:
  port: 8021
 
eureka:
  instance:
    ###注册中心ip地址
    hostname: ${kidgrow.eureka.instance.hostname}
    instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}
    prefer-ip-address: true
  client:
    serviceUrl:
      defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone}
 
spring:
  application:
    name: hystrix-dashboard
 
management:
  endpoints:
    web:
      exposure:
        include: '*'