application.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --- # server 配置
  2. server:
  3. port: 9100
  4. servlet:
  5. context-path: /xxl-job-admin
  6. spring:
  7. application:
  8. name: ruoyi-xxl-job-admin
  9. profiles:
  10. active: @profiles.active@
  11. mvc:
  12. servlet:
  13. load-on-startup: 0
  14. static-path-pattern: /static/**
  15. web:
  16. resources:
  17. static-locations: classpath:/static/
  18. logging:
  19. config: classpath:logback-plus.xml
  20. --- # mybatis 配置
  21. mybatis:
  22. mapper-locations: classpath:/mybatis-mapper/*Mapper.xml
  23. --- # 页面配置
  24. spring:
  25. freemarker:
  26. charset: UTF-8
  27. request-context-attribute: request
  28. settings:
  29. number_format: 0.##########
  30. suffix: .ftl
  31. templateLoaderPath: classpath:/templates/
  32. --- # Actuator 监控端点的配置项
  33. management:
  34. health:
  35. mail:
  36. enabled: false
  37. endpoints:
  38. web:
  39. exposure:
  40. include: '*'
  41. endpoint:
  42. health:
  43. show-details: ALWAYS
  44. logfile:
  45. external-file: ./logs/ruoyi-xxl-job-admin.log
  46. --- # xxljob系统配置
  47. xxl:
  48. job:
  49. # 鉴权token
  50. accessToken: xxl-job
  51. # 国际化
  52. i18n: zh_CN
  53. # 日志清理
  54. logretentiondays: 30
  55. triggerpool:
  56. fast:
  57. max: 200
  58. slow:
  59. max: 100