application.yml 992 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. dubbo:
  2. application:
  3. name: user-service
  4. scan:
  5. base-packages: cn.reghao.tnb.user.app.rpc
  6. protocol:
  7. name: dubbo
  8. port: 6102
  9. server:
  10. port: 6002
  11. tomcat:
  12. max-http-form-post-size: 4MB
  13. spring:
  14. application:
  15. name: user-service
  16. profiles:
  17. active: @profile.active@
  18. mvc:
  19. pathmatch:
  20. matching-strategy: ant_path_matcher
  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.user.app.model.po
  38. eureka:
  39. instance:
  40. prefer-ip-address: true
  41. client:
  42. register-with-eureka: true
  43. fetch-registry: true