application.properties 2.1 KB

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