傅行帆 6 년 전
부모
커밋
f0a5f8ab09
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8
    0
      CODE/smart-community/hardware-server/src/main/resources/bootstrap.yml

+ 8
- 0
CODE/smart-community/hardware-server/src/main/resources/bootstrap.yml 파일 보기

@@ -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