更新 yudao-module-system/yudao-module-system-biz/src/main/resources/bootstrap.yaml
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
root 2024-12-20 21:20:16 +08:00
parent 04f0668ff9
commit 07bc82f108

View File

@ -19,7 +19,7 @@ logging:
spring: spring:
cloud: cloud:
nacos: nacos:
server-addr: 192.168.4.105:8848 server-addr: 172.17.0.1:8848
discovery: discovery:
namespace: ${spring.profiles.active} # 命名空间。这里使用 dev 开发环境 namespace: ${spring.profiles.active} # 命名空间。这里使用 dev 开发环境
metadata: metadata:
@ -32,7 +32,7 @@ spring:
nacos: nacos:
# Nacos Config 配置项,对应 NacosConfigProperties 配置属性类 # Nacos Config 配置项,对应 NacosConfigProperties 配置属性类
config: config:
server-addr: 172.19.0.1:8848 # Nacos 服务器地址 server-addr: 172.17.0.1:8848 # Nacos 服务器地址
namespace: ${spring.profiles.active} # 命名空间 dev 的ID不能直接使用 dev 名称。创建命名空间的时候需要指定ID为 dev这里使用 dev 开发环境 namespace: ${spring.profiles.active} # 命名空间 dev 的ID不能直接使用 dev 名称。创建命名空间的时候需要指定ID为 dev这里使用 dev 开发环境
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
name: ${spring.application.name} # 使用的 Nacos 配置集的 dataId默认为 spring.application.name name: ${spring.application.name} # 使用的 Nacos 配置集的 dataId默认为 spring.application.name