bootstrap.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. server:
  2. port: ${service.port.algorithm}
  3. #文件大小
  4. spring:
  5. servlet:
  6. multipart:
  7. max-file-size: 20MB
  8. max-request-size: 50MB
  9. # mybatis配置
  10. mybatis:
  11. # 搜索指定包别名
  12. typeAliasesPackage: com.zd.alg
  13. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  14. mapperLocations: classpath:mapper/**/*.xml
  15. configuration:
  16. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  17. call-setters-on-nulls: true
  18. # Mybatis开启驼峰映射
  19. mapUnderscoreToCamelCase: true
  20. #okhttp 配置
  21. ok-http:
  22. connect-timeout-ms: 500
  23. keep-alive-duration-sec: 5000
  24. max-idle-connections: 100
  25. read-timeout-ms: 500
  26. write-timeout-ms: 500
  27. sys:
  28. mqtt:
  29. topics: lab/news # 订阅主题, 多个用,隔开
  30. ## 默认为true 不需要订阅则关闭
  31. inbound: true
  32. ## 默认为true 不需要发送则关闭
  33. outbound: true
  34. file:
  35. path: /home/AIPIC
  36. # swagger-ui(生产环境建议关闭)
  37. swagger-ui:
  38. enabled: true
  39. # 版本信息?? 不需修改
  40. version:
  41. version: "@project.version@"
  42. description: "@project.description@"
  43. artifact-id: "@project.artifactId@"