Sfoglia il codice sorgente

adm-server 配置中心切换nacos

yanguofeng 2 anni fa
parent
commit
23df2be099

+ 8 - 2
adm-business/adm-server/src/main/resources/bootstrap.yml

@@ -5,8 +5,14 @@ server:
 spring:
   application:
     # 应用名称
-    name: adm-poc-backend
+    name: adm-server
   profiles:
     active: 'dev'
   main:
-    allow-bean-definition-overriding: true
+    allow-bean-definition-overriding: true
+  cloud:
+    nacos:
+      config:
+        server-addr: develop.persagy.com:80
+        group: digital-delivery
+        file-extension: yml