application-test-full.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. dubbo:
  2. application:
  3. name: file-service
  4. qos-enable: true
  5. qos-port: 16103
  6. qos-accept-foreign-ip: false
  7. scan:
  8. base-packages: cn.reghao.tnb.file.app.rpc,cn.reghao.tnb.file.app.zjob.rpc,cn.reghao.tnb.file.app.zorder.rpc,cn.reghao.tnb.file.app.zoss.rpc
  9. protocol:
  10. name: dubbo
  11. port: 6103
  12. registry:
  13. group: dubbo
  14. address: zookeeper://192.168.0.209:2181
  15. spring:
  16. servlet:
  17. multipart:
  18. max-request-size: 1GB
  19. max-file-size: 1GB
  20. mvc:
  21. pathmatch:
  22. matching-strategy: ant_path_matcher
  23. datasource:
  24. driver-class-name: com.mysql.cj.jdbc.Driver
  25. type: com.zaxxer.hikari.HikariDataSource
  26. hikari:
  27. minimum-idle: 5
  28. maximum-pool-size: 10
  29. auto-commit: true
  30. idle-timeout: 30000
  31. pool-name: EvaluationHikariCP
  32. max-lifetime: 1800000
  33. connection-timeout: 30000
  34. connection-test-query: SELECT 1
  35. url: jdbc:mysql://192.168.0.209/tnb_content_tdb?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
  36. username: test
  37. password: Test_123456
  38. cloud:
  39. discovery:
  40. enabled: true
  41. nacos:
  42. discovery:
  43. server-addr: 192.168.0.209:8848
  44. username: nacos
  45. password: Test_123456
  46. data:
  47. redis:
  48. database: 0
  49. host: 192.168.0.209
  50. port: 6379
  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.file.app.model.po
  57. app:
  58. baseDir: /opt/data/tnbfile