Explorar o código

adm-server 配置中心切换nacos

yanguofeng %!s(int64=2) %!d(string=hai) anos
pai
achega
23df2be099
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      adm-business/adm-server/src/main/resources/bootstrap.yml

+ 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