Commit 4fcbed699a4fb0946bf1e5379e2c1a31439e9af0

Authored by 刘岱鹏
1 parent 3fd43c06

调整实例名称

Showing 1 changed file with 1 additions and 0 deletions
gateway.yml
... ... @@ -52,6 +52,7 @@ eureka:
52 52 instance:
53 53 hostname: gateway
54 54 perferIpAddress: true
  55 + instance-id=${spring.cloud.client.ipAddress}:${server.port}
55 56 client:
56 57 registerWithEureka: true
57 58 fetchRegistry: true
... ...