application.yaml 430 B

123456789101112131415161718192021222324252627
  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. ip: 192.168.1.100