application-dev.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. spring:
  2. redis:
  3. database: 2
  4. sentinel:
  5. nodes:
  6. - "redis://10.87.21.157:26379"
  7. - "redis://10.87.21.158:26379"
  8. - "redis://10.87.21.159:26379"
  9. master: mymaster
  10. password: Xunmeizongmu_2019
  11. autoconfigure:
  12. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  13. mvc:
  14. pathmatch:
  15. matching-strategy: ant_path_matcher
  16. servlet:
  17. multipart:
  18. max-file-size: 20MB
  19. # feign 配置
  20. feign:
  21. sentinel:
  22. enabled: true
  23. okhttp:
  24. enabled: true
  25. httpclient:
  26. enabled: false
  27. client:
  28. config:
  29. default:
  30. connectTimeout: 10000
  31. readTimeout: 10000
  32. compression:
  33. request:
  34. enabled: true
  35. response:
  36. enabled: true
  37. # 暴露监控端点
  38. management:
  39. endpoints:
  40. web:
  41. exposure:
  42. include: '*'
  43. fjnx:
  44. host:
  45. systemCode:
  46. passIP:
  47. passPort:
  48. appCode:
  49. secretName:
  50. jwt:
  51. secretKey: zbcdefghijklmnopqrstuvwxyz
  52. issuer: xunmei.com
  53. websocket:
  54. # 如果关闭 需要和前端开关一起关闭
  55. enabled: true
  56. # 路径
  57. path: /websocket
  58. # 设置访问源地址
  59. allowedOrigins: '*'