Przeglądaj źródła

:bug: eureka host 提交错误

冷冷 7 lat temu
rodzic
commit
7cf4a70b48
1 zmienionych plików z 1 dodań i 1 usunięć
  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