application.yml 687 B

1234567891011121314151617181920212223242526272829
  1. server:
  2. port: 84
  3. spring:
  4. application:
  5. name: nacos-order-consumer
  6. cloud:
  7. nacos:
  8. discovery:
  9. server-addr: localhost:8848
  10. sentinel:
  11. transport:
  12. #配置Sentinel dashboard她址
  13. dashboard: localhost:8080
  14. #默认8719端口,假如被占用会自动从8719开始依次+1扫描,直全找到末被占用的端口
  15. port: 8719
  16. #消费者将要去访问的微服务名称(注册成功进ūc05的機服务提供者)
  17. service-url:
  18. nacos-user-service: http://nacos-payment-provider
  19. #management:
  20. # endpoints:
  21. # web:
  22. # exposure:
  23. # include: '*'
  24. #激entinel.对Feign,的支持
  25. feign:
  26. sentinel:
  27. enabled: true