style: 调整pom的nacos配置
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<modules>
|
||||
<module>wfc-monitor</module>
|
||||
<module>wfc-visual-monitor</module>
|
||||
</modules>
|
||||
|
||||
<artifactId>wfc-visual</artifactId>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<artifactId>wfc-visual-monitor</artifactId>
|
||||
|
||||
<description>
|
||||
wfc-visual-monitor监控中心
|
||||
wfc-visual-monitor 监控中心
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
@@ -9,17 +9,19 @@ spring:
|
||||
name: wfc-monitor
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
active: '@profileName@'
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 127.0.0.1:8848
|
||||
server-addr: '@nacosServerAddr@'
|
||||
namespace: '@nacosNamespace@'
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 127.0.0.1:8848
|
||||
server-addr: '@nacosServerAddr@'
|
||||
namespace: '@nacosNamespace@'
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
Reference in New Issue
Block a user