You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
--- #################### 注册中心相关配置 ####################
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
cloud:
|
|
|
|
|
nacos:
|
|
|
|
|
server-addr: 192.168.233.128:8848
|
|
|
|
|
discovery:
|
|
|
|
|
namespace: dev # 命名空间。这里使用 dev 开发环境
|
|
|
|
|
|
|
|
|
|
--- #################### 配置中心相关配置 ####################
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
cloud:
|
|
|
|
|
nacos:
|
|
|
|
|
# Nacos Config 配置项,对应 NacosConfigProperties 配置属性类
|
|
|
|
|
config:
|
|
|
|
|
server-addr: 192.168.233.128:8848 # Nacos 服务器地址
|
|
|
|
|
namespace: dev # 命名空间。这里使用 dev 开发环境
|
|
|
|
|
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
|
|
|
|
|
#name: # 使用的 Nacos 配置集的 dataId,默认为 spring.application.name
|
|
|
|
|
file-extension: yaml # 使用的 Nacos 配置集的 dataId 的文件拓展名,同时也是 Nacos 配置集的配置格式,默认为 properties
|