所有模块开启nacos鉴权

This commit is contained in:
cdf
2026-03-21 14:27:37 +08:00
parent 475ca820c8
commit f0b3b81e65
12 changed files with 64 additions and 27 deletions

View File

@@ -25,15 +25,19 @@ spring:
discovery:
ip: @service.server.url@
server-addr: @nacos.url@
username: @nacos.username@
password: @nacos.password@
namespace: @nacos.namespace@
config:
server-addr: @nacos.url@
namespace: @nacos.namespace@
username: @nacos.username@
password: @nacos.password@
file-extension: yaml
shared-configs:
- data-id: share-config.yaml
refresh: true
- data-Id: bpm-config.yaml
- data-id: bpm-config.yaml
refresh: true
main:
allow-bean-definition-overriding: true
@@ -51,7 +55,7 @@ flowable:
#项目日志的配置
logging:
config: http://@nacos.url@/nacos/v1/cs/configs?tenant=@nacos.namespace@&group=DEFAULT_GROUP&dataId=logback.xml
#config: http://@nacos.url@/nacos/v1/cs/configs?tenant=@nacos.namespace@&group=DEFAULT_GROUP&dataId=logback.xml
level:
root: info