application.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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
  9. protocol:
  10. name: dubbo
  11. port: 6103
  12. server:
  13. port: 6003
  14. tomcat:
  15. max-http-form-post-size: 4MB
  16. spring:
  17. servlet:
  18. multipart:
  19. max-request-size: 1GB
  20. max-file-size: 1GB
  21. application:
  22. name: file-service
  23. profiles:
  24. active: @profile.active@
  25. mvc:
  26. pathmatch:
  27. matching-strategy: ant_path_matcher
  28. datasource:
  29. driver-class-name: com.mysql.cj.jdbc.Driver
  30. type: com.zaxxer.hikari.HikariDataSource
  31. hikari:
  32. minimum-idle: 5
  33. maximum-pool-size: 10
  34. auto-commit: true
  35. idle-timeout: 30000
  36. pool-name: EvaluationHikariCP
  37. max-lifetime: 1800000
  38. connection-timeout: 30000
  39. connection-test-query: SELECT 1
  40. mybatis:
  41. configuration:
  42. map-underscore-to-camel-case: true
  43. mapper-locations: classpath*:mapper/**.xml
  44. type-aliases-package: cn.reghao.tnb.file.app.model.po
  45. app:
  46. ossType: 1
  47. eureka:
  48. instance:
  49. prefer-ip-address: true
  50. client:
  51. register-with-eureka: true
  52. fetch-registry: true