chenweida před 8 roky
rodič
revize
614ba01d58
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      svr-configurations.yml

+ 1 - 1
svr-configurations.yml

@ -11,7 +11,7 @@ eureka:
    prefer-ip-address: true
    prefer-ip-address: true
    #定制化在eurika中显示的名称
    #定制化在eurika中显示的名称
    ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
    ##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}
---
---