application.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. spring:
  2. profiles:
  3. active: dev
  4. application:
  5. name: longarticle-recommend-server
  6. # cloud:
  7. # sentinel:
  8. # eager: true
  9. # transport:
  10. # port: 8719
  11. # log:
  12. # dir: /datalog/sentinel
  13. # datasource:
  14. # ds1:
  15. # apollo:
  16. # namespace-name: application
  17. # flow-rules-key: sentinel.flowRules
  18. # default-flow-rule-value: []
  19. # rule-type: flow
  20. #grpc:
  21. # server:
  22. # port: 9001
  23. # reflection-service-enabled: true
  24. # client:
  25. # recommend-feature:
  26. # negotiationType: PLAINTEXT
  27. # abtest:
  28. # negotiationType: PLAINTEXT
  29. server:
  30. tomcat:
  31. threads:
  32. max: 1000
  33. uri-encoding: UTF-8
  34. accept-count: 1000
  35. connection-timeout: 30000
  36. servlet:
  37. context-path: /
  38. session:
  39. timeout: 60
  40. pagehelper:
  41. helper-dialect: mysql
  42. logging:
  43. file:
  44. path: /datalog/weblog/${spring.application.name}/
  45. app:
  46. id: longarticle-recommend
  47. apollo:
  48. bootstrap:
  49. enabled: true
  50. namespaces: application
  51. cacheDir: /datalog/apollo-cache-dir
  52. mybatis:
  53. mapper-locations: classpath:/mapper/*.xml