application.yml 807 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #okhttp 配置
  2. ok-http:
  3. connect-timeout-ms: 500
  4. keep-alive-duration-sec: 5000
  5. max-idle-connections: 100
  6. read-timeout-ms: 500
  7. write-timeout-ms: 500
  8. #远程请求地址配置
  9. remote:
  10. protocol: http
  11. ip_addr: 192.168.1.88
  12. port: 17808
  13. operation:
  14. login_url: /api/users/login #登录
  15. get_device: /api/devices #获取设备列表
  16. set_device: /api/sendtodevice #设置设备
  17. tts_ip: 192.168.1.88
  18. tts_port: 10008
  19. spring:
  20. redis:
  21. host: 192.168.1.43
  22. port: 16379
  23. database: 2
  24. password: 2ask8to9
  25. jedis:
  26. pool:
  27. max-active: 8
  28. max-wait: -1
  29. max-idle: 500
  30. min-idle: 1
  31. timeout: 18000
  32. lettuce:
  33. shutdown-timeout: 0
  34. #ip喇叭控制端口
  35. speaker:
  36. port: 8888
  37. isOnline: 0 #1表示公网部署,0表示局域网部署