forked from kidgrow-microservices-platform

zxh
2020-09-07 f39c714468aee20bbb8c5bb6e64658467d84c569
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
server:
  port: 8066
spring:
  application:
    name: webmanager-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}