对bootstrap.yml进行不同环境拆分,使用nacos的命名空间

This commit is contained in:
anweiguo
2021-05-27 10:04:33 +08:00
parent 7cbef78112
commit 1b23f42e72
28 changed files with 293 additions and 39 deletions

View File

@@ -12,12 +12,7 @@ spring:
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
# 配置文件格式
file-extension: yml
# 共享配置