forked from kidgrow-microservices-platform

侯瑞军
2020-04-07 21e0bc31710f67f9e383b2f379eb40ff0144e4f4
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: '*'