bootstrap.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. dubbo:
  2. application:
  3. name: account-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. cloud:
  34. zookeeper:
  35. connect-string: localhost:2181
  36. config:
  37. enabled: true
  38. root: config
  39. default-context: ${spring.application.name}
  40. profile-separator: ':'
  41. watcher:
  42. enabled: true
  43. mybatis:
  44. configuration:
  45. map-underscore-to-camel-case: true
  46. mapper-locations: classpath*:mapper/**.xml
  47. type-aliases-package: cn.reghao.tnb.content.app.model.po
  48. management:
  49. endpoints:
  50. web:
  51. base-path: /api/content/actuator
  52. exposure:
  53. include: "*"
  54. health:
  55. show-details: always
  56. metrics:
  57. tags:
  58. application: ${spring.application.name}