application.yml 配置nacos
时间: 2023-09-06 19:08:32 浏览: 133
在application.yml中配置nacos需要在nacos.address和nacos.namespace这两个属性中填写相应的信息。nacos.address是指nacos的地址,用于连接到nacos服务器。nacos.namespace是nacos的命名空间,用于区分不同的应用程序或环境。通过填写这两个属性,可以将nacos与应用程序的配置文件进行整合,实现nacos的配置管理功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [SpringCloud -- Nacos配置管理](https://blog.csdn.net/qq_33753147/article/details/127112125)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [sentinel-dashboard-1.8.3](https://download.csdn.net/download/qq_34225210/85018558)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文