Pārlūkot izejas kodu

更改配置文件

lixing 3 gadi atpakaļ
vecāks
revīzija
bd23cddc1c
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2 3
      src/main/resources/bootstrap.yml

+ 2 - 3
src/main/resources/bootstrap.yml

@@ -7,7 +7,6 @@ spring:
     name: energy-alarm-service
 
 EUREKA_CLIENT_DEFAULT_ZONE: http://frame:123456@develop.persagy.com/integrated-eureka/eureka/
-EUREKA_INSTANCE_IP_ADDRESS: 192.168.16.247
 
 mybatis-plus:
   configuration:
@@ -17,7 +16,7 @@ mybatis-plus:
 eureka:
 #  instance:
 #    prefer-ip-address: true
-#  client:
-#    register-with-eureka: false
+  client:
+    register-with-eureka: ${register-with-eureka}