feat:测试nacos配置文件

This commit is contained in:
2026-07-17 13:29:47 +08:00
parent 0d304414ac
commit fa887867c5
6 changed files with 14 additions and 14 deletions

View File

@@ -7,10 +7,10 @@ spring:
username: nacos
password: nacos
discovery: # 【配置中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
config: # 【注册中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
--- #################### 监控相关配置 ####################

View File

@@ -7,12 +7,12 @@ spring:
username: nacos
password: nacos
discovery: # 【配置中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
metadata:
version: 1.0.0 # 服务实例的版本号,可用于灰度发布
config: # 【注册中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
--- #################### 数据库相关配置 ####################

View File

@@ -7,12 +7,12 @@ spring:
username: nacos
password: nacos
discovery: # 【配置中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
metadata:
version: 1.0.0 # 服务实例的版本号,可用于灰度发布
config: # 【注册中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
--- #################### 数据库相关配置 ####################

View File

@@ -4,15 +4,15 @@ spring:
cloud:
nacos:
server-addr: 192.168.81.193:8848 # Nacos 服务器地址
username: nacos# Nacos 账号
password: nacos# Nacos 密码
username: nacos
password: nacos
discovery: # 【配置中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
metadata:
version: 1.0.0 # 服务实例的版本号,可用于灰度发布
config: # 【注册中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
--- #################### 数据库相关配置 ####################

View File

@@ -7,12 +7,12 @@ spring:
username: nacos
password: nacos
discovery: # 【注册中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
metadata:
version: 1.0.0 # 服务实例的版本号,可用于灰度发布
config: # 【配置中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
--- #################### 数据库相关配置 ####################

View File

@@ -7,12 +7,12 @@ spring:
username: nacos
password: nacos
discovery: # 【配置中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
metadata:
version: 1.0.0 # 服务实例的版本号,可用于灰度发布
config: # 【注册中心】配置项
namespace: test # 命名空间。这里使用 dev 开发环境
namespace: e682c31c-a86b-4bbd-b655-9e19d7215b2a # 命名空间。这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
--- #################### 数据库相关配置 ####################