application.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. server:
  2. port: 8686
  3. servlet:
  4. context-path: /
  5. undertow:
  6. max-http-post-size: -1
  7. buffer-size: 512
  8. direct-buffers: true
  9. threads:
  10. io: 8
  11. worker: 256
  12. spring:
  13. application:
  14. name: server-train
  15. profiles:
  16. active: @profiles.active@
  17. servlet:
  18. multipart:
  19. max-file-size: 10MB
  20. max-request-size: 20MB
  21. jackson:
  22. date-format: yyyy-MM-dd HH:mm:ss
  23. serialization:
  24. indent_output: false
  25. fail_on_empty_beans: false
  26. deserialization:
  27. fail_on_unknown_properties: false
  28. mvc:
  29. format:
  30. date-time: yyyy-MM-dd HH:mm:ss
  31. liquibase:
  32. enabled: true
  33. change-log: classpath:/db/changelog/db-server.xml
  34. datasource:
  35. driver-class-name: org.h2.Driver
  36. type: org.h2.jdbcx.JdbcConnectionPool
  37. url: jdbc:h2:./store/db_train;IGNORECASE=TRUE;MODE=MySQL;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9090;USER=root;PASSWORD=123456
  38. username: root
  39. password: 123456
  40. h2:
  41. console:
  42. path: /h2
  43. settings:
  44. trace: false
  45. web-allow-others: true
  46. logging:
  47. level:
  48. com.example: @logging.level@
  49. org.springframework: warn
  50. config: classpath:/logback.xml