forked from kidgrow-microservices-platform

zhaoxiaohao
2020-10-15 4bb63c2596c4b549e47b514e23f707b37fe9c743
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: '*'