浏览代码

adm-server 配置中心切换nacos

yanguofeng 2 年之前
父节点
当前提交
23df2be099
共有 1 个文件被更改,包括 8 次插入2 次删除
  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