application.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. server:
  2. port: 8080
  3. spring:
  4. application:
  5. name: qqflowengine-backend
  6. datasource:
  7. url: jdbc:h2:file:./data/devdb;MODE=MySQL;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;CHARSET=UTF-8
  8. driver-class-name: org.h2.Driver
  9. username: sa
  10. password:
  11. sql:
  12. init:
  13. mode: always
  14. schema-locations: classpath:schema-dev.sql
  15. data-locations: classpath:data-dev.sql
  16. redis:
  17. host: localhost
  18. port: 6379
  19. password:
  20. database: 0
  21. timeout: 10s
  22. lettuce:
  23. pool:
  24. max-active: 8
  25. max-idle: 8
  26. min-idle: 0
  27. jackson:
  28. date-format: yyyy-MM-dd HH:mm:ss
  29. time-zone: GMT+8
  30. mybatis-plus:
  31. mapper-locations: classpath*:/mapper/**/*.xml
  32. type-aliases-package: com.qqflow.engine.**.po
  33. configuration:
  34. map-underscore-to-camel-case: true
  35. cache-enabled: true
  36. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  37. global-config:
  38. db-config:
  39. id-type: auto
  40. logic-delete-field: deleted
  41. logic-delete-value: 1
  42. logic-not-delete-value: 0
  43. jwt:
  44. secret: qqflow-engine-secret-key-2024-very-long-and-secure
  45. expiration: 86400000
  46. header: Authorization
  47. prefix: Bearer
  48. logging:
  49. level:
  50. com.qqflow.engine: debug