spring: application: name: service-provider-demo cloud: nacos: # 配置nacos的注册中心 discovery: server-addr: 127.0.0.1:8848 username: nacos password: nacos # 设置实例的权重 weight: 10 # loadbalancer: # configurations: 5 # spring.cloud.loadbalancer.configurations sentinel: transport: dashboard: localhost:8090 # 指定sentinel控制台的地址 server: port: 8070