Explorar o código

:bug: eureka host 提交错误

冷冷 %!s(int64=7) %!d(string=hai) anos
pai
achega
7cf4a70b48
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pigx-eureka/src/main/resources/bootstrap.yml

+ 1 - 1
pigx-eureka/src/main/resources/bootstrap.yml

@@ -13,7 +13,7 @@ spring:
 # 类似的 redis 使用pigx-redis ,gateway 换成 pigx-gateway
 eureka:
   instance:
-    hostname: pigx-eureka
+    hostname: localhost
     prefer-ip-address: true
   client:
     register-with-eureka: false