application.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. server:
  2. port: 6000
  3. spring:
  4. devtools:
  5. restart:
  6. enabled: false
  7. thymeleaf:
  8. prefix: classpath:/templates/
  9. suffix: .html
  10. mode: HTML5
  11. encoding: UTF-8
  12. cache: false
  13. mvc:
  14. static-path-pattern: /static/**
  15. resources:
  16. chain:
  17. strategy:
  18. content:
  19. enabled: true
  20. paths: /**
  21. # 开启和暴露所有端点
  22. management:
  23. endpoints:
  24. web:
  25. exposure:
  26. include: [ "health", "logfile","info" ,"scheduledtasks" ]
  27. base-path: /
  28. endpoint:
  29. health:
  30. show-details: ALWAYS
  31. logfile:
  32. enabled: true #可在线查看日志
  33. info:
  34. enabled: true
  35. ########################################################
  36. ### Log configuration
  37. ### 方便Spring Boot Admin页面上实时查看日志
  38. ### logback.xml中有详细的日志配置
  39. ########################################################
  40. logging:
  41. config: classpath:logback-spring.xml
  42. level:
  43. root: ${LOG_LEVEL:INFO}
  44. # 方便Spring Boot Admin页面上实时查看日志
  45. file: logs/debug.log
  46. downLoadFile:
  47. # 多个场站下载NWP和DQ以英文逗号分割
  48. stationCode: J01100,J01101,J01102,J01103,J01104
  49. zxglPath: D://code//ipp-ahhn//zxgl