You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

8 months ago
7 months ago
8 months ago
4 months ago
7 months ago
4 months ago
4 months ago
4 months ago
4 months ago
7 months ago
7 months ago
4 months ago
7 months ago
1 year ago
7 months ago
8 months ago
4 months ago
8 months ago
7 months ago
  1. server:
  2. port: 80
  3. #device.runmode: "RealMode"
  4. a8k.enableTemperatureCtrl: true
  5. device.runmode: "RealMode"
  6. device.enableCanBus: true
  7. iflytophald:
  8. # ip: 192.168.8.10
  9. ip: 127.0.0.1
  10. cmdch.port: 19004
  11. datach.port: 19005
  12. #hardware.canbus.url: ws://127.0.0.1:19005
  13. logging:
  14. file:
  15. name: ./runenv/app.log
  16. level:
  17. a8k.app.hardware.basedriver: info
  18. spring:
  19. web:
  20. resources:
  21. static-locations: file:appresource/static/app/,file:appresource/static/,file:/opt/app/static/,classpath:templates/,classpath:static/
  22. datasource:
  23. # url: jdbc:sqlite::resource:app.db
  24. url: jdbc:sqlite:appresource/db/app.db
  25. driver-class-name: org.sqlite.JDBC
  26. jackson:
  27. serialization:
  28. write-dates-as-timestamps: true
  29. springdoc:
  30. api-docs:
  31. path: /doc/api-docs
  32. enabled: true
  33. swagger-ui:
  34. enabled: true # 开启swagger界面,依赖OpenApi,需要OpenApi同时开启
  35. path: /doc/apitest.html # 自定义路径,默认为"/swagger-ui/index.html
  36. operationsSorter: method # 接口按照方法排序