Prechádzať zdrojové kódy

update application config

reghao 11 mesiacov pred
rodič
commit
a08201747d

+ 5 - 5
eureka/eureka-server/src/main/resources/application.yml

@@ -14,10 +14,10 @@ spring:
 eureka:
   instance:
     prefer-ip-address: true
-#  client:
-#    register-with-eureka: false
-#    fetch-registry: false
-#    service-url:
-#      defaultZone: http://localhost:${server.port}/eureka
+  client:
+    register-with-eureka: false
+    fetch-registry: false
+    service-url:
+      defaultZone: http://localhost:${server.port}/eureka
   server:
     enable-self-preservation: false

+ 0 - 8
gateway/src/main/resources/application-test.yml

@@ -8,14 +8,6 @@ spring:
     host: 192.168.0.210
     port: 6379
     password: Test@123456
-  data:
-    mongodb:
-      host: 192.168.0.210
-      port: 27017
-      authentication-database: admin
-      username: test
-      password: Test@123456
-      database: "tnb_content_tdb"
   cloud:
     discovery:
       enabled: true