application.properties 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ### actuator
  2. management.server.servlet.context-path=/actuator
  3. management.health.mail.enabled=false
  4. ### resources
  5. spring.mvc.servlet.load-on-startup=0
  6. spring.mvc.static-path-pattern=/static/**
  7. spring.resources.static-locations=classpath:/static/
  8. ### freemarker
  9. spring.freemarker.templateLoaderPath=classpath:/templates/
  10. spring.freemarker.suffix=.ftl
  11. spring.freemarker.charset=UTF-8
  12. spring.freemarker.request-context-attribute=request
  13. spring.freemarker.settings.number_format=0.##########
  14. ### mybatis
  15. mybatis.mapper-locations=classpath:/mybatis-mapper/*Mapper.xml
  16. #mybatis.type-aliases-package=com.xxl.job.admin.core.model
  17. ### xxl-job, datasource
  18. spring.datasource.url=jdbc:mysql://152.136.98.229:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
  19. spring.datasource.username=root
  20. spring.datasource.password=QK5634982@#
  21. spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  22. ### datasource-pool
  23. spring.datasource.type=com.zaxxer.hikari.HikariDataSource
  24. spring.datasource.hikari.minimum-idle=10
  25. spring.datasource.hikari.maximum-pool-size=30
  26. spring.datasource.hikari.auto-commit=true
  27. spring.datasource.hikari.idle-timeout=30000
  28. spring.datasource.hikari.pool-name=HikariCP
  29. spring.datasource.hikari.max-lifetime=900000
  30. spring.datasource.hikari.connection-timeout=10000
  31. spring.datasource.hikari.connection-test-query=SELECT 1
  32. spring.datasource.hikari.validation-timeout=1000
  33. ### xxl-job, email
  34. spring.mail.host=smtp.qq.com
  35. spring.mail.port=25
  36. spring.mail.username=xxx@qq.com
  37. spring.mail.from=xxx@qq.com
  38. spring.mail.password=xxx
  39. spring.mail.properties.mail.smtp.auth=true
  40. spring.mail.properties.mail.smtp.starttls.enable=true
  41. spring.mail.properties.mail.smtp.starttls.required=true
  42. spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
  43. ### xxl-job, access token
  44. xxl.job.accessToken=
  45. ### xxl-job, i18n (default is zh_CN, and you can choose "zh_CN", "zh_TC" and "en")
  46. xxl.job.i18n=zh_CN
  47. ## xxl-job, triggerpool max size
  48. xxl.job.triggerpool.fast.max=200
  49. xxl.job.triggerpool.slow.max=100
  50. ### xxl-job, log retention days
  51. xxl.job.logretentiondays=30