application.properties 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ### web
  2. server.port=8080
  3. server.context-path=/xxl-job-admin
  4. ### resources
  5. spring.mvc.static-path-pattern=/static/**
  6. spring.resources.static-locations=classpath:/static/
  7. ### freemarker
  8. spring.freemarker.templateLoaderPath=classpath:/templates/
  9. spring.freemarker.suffix=.ftl
  10. spring.freemarker.charset=UTF-8
  11. spring.freemarker.request-context-attribute=request
  12. spring.freemarker.settings.number_format=0.##########
  13. ### mybatis
  14. mybatis.mapper-locations=classpath:/mybatis-mapper/*Mapper.xml
  15. ### xxl-job, datasource
  16. spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl_job?Unicode=true&characterEncoding=UTF-8
  17. spring.datasource.username=root
  18. spring.datasource.password=root_pwd
  19. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  20. spring.datasource.type=org.apache.tomcat.jdbc.pool.DataSource
  21. spring.datasource.tomcat.max-wait=10000
  22. spring.datasource.tomcat.max-active=30
  23. spring.datasource.tomcat.test-on-borrow=true
  24. spring.datasource.tomcat.validation-query=SELECT 1
  25. spring.datasource.tomcat.validation-interval=30000
  26. ### xxl-job email
  27. spring.mail.host=smtp.qq.com
  28. spring.mail.port=25
  29. spring.mail.username=xxx@qq.com
  30. spring.mail.password=xxx
  31. spring.mail.properties.mail.smtp.auth=true
  32. spring.mail.properties.mail.smtp.starttls.enable=true
  33. spring.mail.properties.mail.smtp.starttls.required=true
  34. spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
  35. ### xxl-job, access token
  36. xxl.job.accessToken=
  37. ### xxl-job, i18n (default empty as chinese, "en" as english)
  38. xxl.job.i18n=