From 81c332f0bd1a37414a25e7cb039075128acd550e Mon Sep 17 00:00:00 2001 From: qinyingjie Date: Mon, 9 Jan 2023 21:15:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:eureka=E9=AB=98=E5=8F=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-eureka8767.yaml | 2 +- .../src/main/resources/application-eureka8768.yaml | 2 +- .../src/main/resources/application-eureka8769.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/springcloud-service-eureka/src/main/resources/application-eureka8767.yaml b/springcloud-service-eureka/src/main/resources/application-eureka8767.yaml index cfc7503..2fd1bb8 100644 --- a/springcloud-service-eureka/src/main/resources/application-eureka8767.yaml +++ b/springcloud-service-eureka/src/main/resources/application-eureka8767.yaml @@ -8,7 +8,7 @@ spring: eureka: instance: - hostname: localhost + hostname: eureka8767 client: register-with-eureka: false #由于该应用为注册中心,所以设置 为 false, 代表不向注册中心注册自己。 fetch-registry: false #由于注册中心的职责就是维护服务实例, 它并不需要去检索服务, 所以也设置为 false。 diff --git a/springcloud-service-eureka/src/main/resources/application-eureka8768.yaml b/springcloud-service-eureka/src/main/resources/application-eureka8768.yaml index b588e10..0b94068 100644 --- a/springcloud-service-eureka/src/main/resources/application-eureka8768.yaml +++ b/springcloud-service-eureka/src/main/resources/application-eureka8768.yaml @@ -8,7 +8,7 @@ spring: eureka: instance: - hostname: localhost + hostname: eureka8768 client: register-with-eureka: false #由于该应用为注册中心,所以设置 为 false, 代表不向注册中心注册自己。 fetch-registry: false #由于注册中心的职责就是维护服务实例, 它并不需要去检索服务, 所以也设置为 false。 diff --git a/springcloud-service-eureka/src/main/resources/application-eureka8769.yaml b/springcloud-service-eureka/src/main/resources/application-eureka8769.yaml index a5fa056..0f7f28f 100644 --- a/springcloud-service-eureka/src/main/resources/application-eureka8769.yaml +++ b/springcloud-service-eureka/src/main/resources/application-eureka8769.yaml @@ -8,7 +8,7 @@ spring: eureka: instance: - hostname: localhost + hostname: eureka8769 client: register-with-eureka: false #由于该应用为注册中心,所以设置 为 false, 代表不向注册中心注册自己。 fetch-registry: false #由于注册中心的职责就是维护服务实例, 它并不需要去检索服务, 所以也设置为 false。 -- GitLab