application.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. management:
  2. health:
  3. mail:
  4. enabled: false
  5. server:
  6. servlet:
  7. context-path: /actuator
  8. # endpoints:
  9. # web:
  10. # exposure:
  11. # include: '*'
  12. # endpoint:
  13. # health:
  14. # show-details: always
  15. # # 开启在线日志查看功能
  16. # logfile:
  17. # enabled: true
  18. server:
  19. port: 30020
  20. servlet:
  21. context-path: /xxl-job-admin
  22. spring:
  23. profiles:
  24. # 指定环境配置 dev(开发环境-默认)、test(测试环境)、preview(预生产环境)、prod(生产环境)
  25. active: dev
  26. main:
  27. allow-bean-definition-overriding: true
  28. application:
  29. name: xxl-job-register
  30. freemarker:
  31. charset: UTF-8
  32. request-context-attribute: request
  33. settings:
  34. number_format: 0.##########
  35. new_builtin_class_resolver: safer
  36. suffix: .ftl
  37. templateLoaderPath: classpath:/templates/
  38. mail:
  39. from: xxx@qq.com
  40. host: smtp.qq.com
  41. password: xxx
  42. port: 25
  43. properties:
  44. mail:
  45. smtp:
  46. auth: true
  47. socketFactory:
  48. class: javax.net.ssl.SSLSocketFactory
  49. starttls:
  50. enable: true
  51. required: true
  52. username: xxx@qq.com
  53. mvc:
  54. servlet:
  55. load-on-startup: 0
  56. static-path-pattern: /static/**
  57. static-locations: classpath:/static/
  58. xxl:
  59. job:
  60. accessToken: '432e62f3b488bc861d91b0e274e850cc'
  61. timeout: 3
  62. i18n: zh_CN
  63. logretentiondays: 30
  64. triggerpool:
  65. fast:
  66. max: 200
  67. slow:
  68. max: 100