application.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. server:
  2. port: 8088
  3. tomcat:
  4. max-swallow-size: -1
  5. error:
  6. include-exception: true
  7. include-stacktrace: ALWAYS
  8. include-message: ALWAYS
  9. servlet:
  10. context-path: /openapi
  11. session:
  12. timeout: PT2H
  13. encoding:
  14. charset: UTF-8
  15. force: true
  16. enabled: true
  17. # DataSource Config
  18. spring:
  19. datasource:
  20. type: com.alibaba.druid.pool.DruidDataSource
  21. driver-class-name: com.kingbase8.Driver
  22. url: jdbc:kingbase8://10.8.3.137:54321/ggzyexchange
  23. username: ggzyexchange
  24. password: ggzyexchange
  25. druid:
  26. stat-view-servlet:
  27. enabled: false
  28. mvc:
  29. static-path-pattern: /**
  30. #Spring Boot 2.6+后映射匹配的默认策略已从AntPathMatcher更改为PathPatternParser,需要手动指定为ant-path-matcher
  31. pathmatch:
  32. matching-strategy: ant_path_matcher
  33. redis:
  34. database: 13
  35. host: 127.0.0.1
  36. port: 6379
  37. password: ''
  38. data:
  39. elasticsearch:
  40. client:
  41. reactive:
  42. endpoints: 10.8.3.142:9200 # 要连接的ES客户端Rest Uri 多个逗号分隔 http://192.168.1.251:9200
  43. connection-timeout: 10s
  44. username: elastic
  45. password: TRSadmin123!@#
  46. #ES 持久化存储
  47. repositories:
  48. enabled: true
  49. elasticsearch:
  50. rest:
  51. # 要连接的ES客户端Rest Uri 多个逗号分隔 http://192.168.1.251:9200
  52. uris: http://10.8.3.145:9200
  53. connection-timeout: 10s
  54. read-timeout: 30s
  55. username: elastic
  56. password: TRSadmin123!@#
  57. mybatis-plus:
  58. global-config:
  59. db-config:
  60. id-type: auto
  61. configuration:
  62. map-underscore-to-camel-case: true
  63. auto-mapping-behavior: full
  64. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  65. mapper-locations: classpath:mapper/*.xml
  66. time:
  67. cron: 0 */10 * * * ?