application.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. server:
  13. port: 6005
  14. tomcat:
  15. max-http-form-post-size: 4MB
  16. spring:
  17. application:
  18. name: content-service
  19. profiles:
  20. active: @profile.active@
  21. datasource:
  22. driver-class-name: com.mysql.cj.jdbc.Driver
  23. type: com.zaxxer.hikari.HikariDataSource
  24. hikari:
  25. minimum-idle: 5
  26. maximum-pool-size: 10
  27. auto-commit: true
  28. idle-timeout: 30000
  29. pool-name: EvaluationHikariCP
  30. max-lifetime: 1800000
  31. connection-timeout: 30000
  32. connection-test-query: SELECT 1
  33. mybatis:
  34. configuration:
  35. map-underscore-to-camel-case: true
  36. mapper-locations: classpath*:mapper/**.xml
  37. type-aliases-package: cn.reghao.tnb.content.app.model.po
  38. eureka:
  39. instance:
  40. prefer-ip-address: true
  41. client:
  42. register-with-eureka: true
  43. fetch-registry: true
  44. #management:
  45. # endpoints:
  46. # web:
  47. # base-path: /api/content/actuator
  48. # exposure:
  49. # include: "*"
  50. # metrics:
  51. # tags:
  52. # application: ${spring.application.name}