23c535677c6ee373c1ba8bce51d438afb42ffe77.svn-base 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. server:
  2. port: 9080
  3. servlet:
  4. context-path: /xxl-job-admin
  5. #数据源配置
  6. spring:
  7. datasource:
  8. url: jdbc:mysql://127.0.0.1:3306/xxl_job?Unicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  9. username: root
  10. password: root
  11. driver-class-name: com.mysql.jdbc.Driver
  12. type: com.zaxxer.hikari.HikariDataSource
  13. hikari:
  14. minimum-idle: 10
  15. maximum-pool-size: 30
  16. auto-commit: true
  17. idle-timeout: 30000
  18. pool-name: HikariCP
  19. max-lifetime: 900000
  20. connection-timeout: 10000
  21. connection-test-query: SELECT 1
  22. #邮箱配置
  23. mail:
  24. host: smtphz.qiye.163.com
  25. port: 994
  26. username: zhuwei@aboatedu.com
  27. password: zwass1314
  28. properties:
  29. mail:
  30. smtp:
  31. auth: true
  32. starttls:
  33. enable: true
  34. required: true
  35. socketFactory:
  36. class: javax.net.ssl.SSLSocketFactory
  37. #MVC配置
  38. mvc:
  39. servlet:
  40. load-on-startup: 0
  41. static-path-pattern: /static/**
  42. resources:
  43. static-locations: classpath:/static/
  44. #freemarker配置
  45. freemarker:
  46. templateLoaderPath=classpath: /templates/
  47. suffix: .ftl
  48. charset: UTF-8
  49. request-context-attribute: request
  50. settings:
  51. number_format: 0.##########
  52. #通用配置,开放端点
  53. management:
  54. server:
  55. servlet:
  56. context-path: /actuator
  57. health:
  58. mail:
  59. enabled: false
  60. #mybatis配置
  61. mybatis:
  62. mapper-locations: classpath:/mybatis-mapper/*Mapper.xml
  63. #XXL-job配置
  64. xxl:
  65. job:
  66. login:
  67. username: admin
  68. password: 123456
  69. accessToken:
  70. i18n: zh_CN
  71. #触发池
  72. triggerpool:
  73. fast:
  74. max: 200
  75. slow:
  76. max: 100
  77. logretentiondays: 30