application.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. internal-port: 30081
  31. tomcat:
  32. threads:
  33. max: 1000
  34. uri-encoding: UTF-8
  35. accept-count: 1000
  36. connection-timeout: 30000
  37. servlet:
  38. context-path: /
  39. session:
  40. timeout: 60
  41. pagehelper:
  42. helper-dialect: mysql
  43. logging:
  44. file:
  45. path: /datalog/weblog/${spring.application.name}/
  46. app:
  47. id: longarticle-recommend
  48. apollo:
  49. bootstrap:
  50. enabled: true
  51. namespaces: application
  52. cacheDir: /datalog/apollo-cache-dir
  53. mybatis:
  54. mapper-locations: classpath:/mapper/*.xml
  55. rocketmq:
  56. accessKey: LTAI4G7puhXtLyHzHQpD6H7A
  57. secretKey: nEbq3xWNQd1qLpdy2u71qFweHkZjSG
  58. nameSrvAddr: http://MQ_INST_1894469520484605_BXhXuzkZ.mq-internet-access.mq-internet.aliyuncs.com:80