application.yaml 856 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # 启动端口号
  2. server:
  3. port: 8000
  4. # websocket url
  5. websocket:
  6. ws-url: ws://localhost:8000/ws?uid=server&to_uid=client
  7. # MySQL数据源配置
  8. sqlite:
  9. url: ./db/confrontation-training.db
  10. # 图片路径配置
  11. upload:
  12. savePath: ./files/
  13. accessUrl: http://localhost:8000/file/
  14. # JWT配置
  15. jwt:
  16. signingKey: z3d6k8v0n3w7m9sa1fd0u09h
  17. # 定时任务
  18. cron:
  19. enable: true
  20. #蓝牙网关地址
  21. gateway:
  22. baseUrl: http://192.168.2.254
  23. scanUrl: /gap/nodes?active=1&event=1
  24. connUrl: /gap/nodes/MAC/connection?chip
  25. notifyUrl: /gatt/nodes?event=1
  26. writeDataUrl: /gatt/nodes/MAC/handle/32/value/DATA
  27. openChannel: /gatt/nodes/MAC/handle/36/value/0100
  28. disconnectUrl: /gap/nodes/MAC/connection
  29. scanSecond: 20000 #蓝牙数据推送时间间隔
  30. #日志系统
  31. log2file:
  32. filePath: ./logs/
  33. fileName: confrontation_training
  34. fileSuffix: .log