chenweida пре 8 година
родитељ
комит
1eb0808e07
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      application.yml

+ 1 - 1
application.yml

@ -24,7 +24,7 @@ eureka:
    prefer-ip-address: true
    #定制化在eurika中显示的名称
    ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
    instance-id: ${spring.cloud.client.ipAddress}:${server.port}}
    instance-id: ${spring.cloud.client.ipAddress}:${server.port}