application-test-full.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. dubbo:
  2. application:
  3. name: content-service
  4. qos-enable: true
  5. qos-port: 16105
  6. qos-accept-foreign-ip: false
  7. scan:
  8. base-packages: cn.reghao.tnb.content.app.vod.rpc,cn.reghao.tnb.content.app.mall.rpc
  9. protocol:
  10. name: dubbo
  11. port: 6105
  12. registry:
  13. group: dubbo
  14. address: zookeeper://192.168.0.209:2181
  15. server:
  16. port: 6005
  17. tomcat:
  18. max-http-form-post-size: 4MB
  19. spring:
  20. datasource:
  21. driver-class-name: org.apache.shardingsphere.driver.ShardingSphereDriver
  22. url: jdbc:shardingsphere:classpath:sharding-${spring.profiles.active}.yml
  23. cloud:
  24. discovery:
  25. enabled: true
  26. nacos:
  27. discovery:
  28. server-addr: 192.168.0.209:8848
  29. username: nacos
  30. password: Test_123456
  31. inetutils:
  32. ignored-interfaces:
  33. - docker0
  34. - veth.*
  35. preferred-networks:
  36. - 192.168
  37. loadbalancer:
  38. cache:
  39. enabled: true
  40. data:
  41. redis:
  42. database: 0
  43. host: 192.168.0.209
  44. port: 6379
  45. password: Test_123456
  46. rabbitmq:
  47. host: 192.168.0.209
  48. port: 5672
  49. virtual-host: /
  50. username: test
  51. password: Test_123456
  52. mybatis:
  53. configuration:
  54. map-underscore-to-camel-case: true
  55. mapper-locations: classpath*:mapper/**.xml
  56. type-aliases-package: cn.reghao.tnb.content.app.model.po
  57. feign:
  58. circuitbreaker:
  59. enabled: true
  60. httpclient:
  61. hc5:
  62. enabled: true
  63. connection-request-timeout-unit: seconds
  64. connection-request-timeout: 1