bootstrap.yml 585 B

1234567891011121314151617181920212223
  1. ###需拷贝到每一个模块下
  2. spring:
  3. mvc:
  4. pathmatch:
  5. matching-strategy: ant_path_matcher
  6. main: #允许循环引用
  7. allow-circular-references: true
  8. # 应用名
  9. application:
  10. name: RewardServer
  11. # 当前读取配置文件的类型
  12. profiles:
  13. active: dev
  14. #配置中心
  15. cloud:
  16. config:
  17. uri: http://192.168.110.241:8000
  18. name: RewardServer,ConfigCenter
  19. autoconfigure:
  20. exclude:
  21. - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
  22. - org.springframework.cloud.netflix.ribbon.RibbonAutoConfiguration