forked from kidgrow-microservices-platform

zhaoxiaohao
2020-07-15 1ad851e4eb8c972eeb2fee7f2d1d54d3e32068a9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server:
  port: 8077
spring:
  application:
    name: webhospital-server
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:
    register-with-eureka: false
    fetch-registry: false
    serviceUrl:
      defaultZone: ${kidgrow.eureka.client.serviceUrl.defaultZone}