server:
port: 8014
spring:
application:
name: gateway01
main:
allow-bean-definition-overriding: true
cloud:
nacos:
discovery:
enabled: true
server-addr: 192.168.31.129:8088
namespace: de735de9-6f00-46e8-af35-c527d188e954
username: nacos
password: nacos
config:
refresh-enabled: true
server-addr: 192.168.31.129:8088
file-extension: yaml
group: DEFAULT_GROUP
namespace: de735de9-6f00-46e8-af35-c527d188e954
username: nacos
password: nacos
sentinel:
enabled: true
eager: true
transport:
port: 8719
dashboard: 192.168.31.129:8858
#clientIp: 192.168.132.132
datasource:
ds1:
nacos: #nacos 获取配置中心的配置
server-addr: 192.168.31.129:8088
dataId: sentinel-core-configuration
groupId: DEFAULT_GROUP
data-type: json
rule-type: flow
namespace: de735de9-6f00-46e8-af35-c527d188e954
nacos配置信息
最新推荐文章于 2024-07-15 10:30:36 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)