傅行帆 6 gadus atpakaļ
vecāks
revīzija
f0a5f8ab09

+ 8
- 0
CODE/smart-community/hardware-server/src/main/resources/bootstrap.yml Parādīt failu

@@ -3,6 +3,14 @@ server:
3 3
 spring:
4 4
   application:
5 5
     name: hardware-server
6
+  cloud:
7
+    config:
8
+      name: application
9
+      label: master
10
+      #      uri: http://localhost:7001/
11
+      discovery:
12
+        enabled: true
13
+        serviceId: config-server
6 14
   aop:
7 15
     auto: true
8 16
     proxy-target-class: true