forked from kidgrow-microservices-platform

zhaoxiaohao
2020-11-25 f6d390988b1c9b5695338214e95ff0d6da70b300
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: '*'