application-dev.yml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. server:
  2. port: 8787
  3. servlet:
  4. context-path: /bim
  5. spring:
  6. resources:
  7. chain:
  8. strategy:
  9. content:
  10. enabled: true
  11. paths: /**
  12. servlet:
  13. multipart:
  14. enabled: true
  15. max-request-size: 1024MB
  16. max-file-size: 1024MB
  17. # redis 配置
  18. redis:
  19. host: 127.0.0.1
  20. port: 6379
  21. timeout: 6000ms
  22. password: 1234
  23. database: 2
  24. # cluster:
  25. # max-redirects: 3 # 获取失败 最大重定向次数
  26. # nodes:
  27. # - 120.25.146.52:6379
  28. jedis:
  29. pool:
  30. max-active: 10 #连接池最大连接数(使用负值表示没有限制)
  31. max-idle: 10 # 连接池中的最大空闲连接
  32. min-idle: 5 # 连接池中的最小空闲连接
  33. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  34. lettuce:
  35. shutdown-timeout: 0ms
  36. # 数据源配置
  37. datasource:
  38. type: com.zaxxer.hikari.HikariDataSource
  39. driver-class-name: com.mysql.cj.jdbc.Driver
  40. url: jdbc:mysql://120.25.146.52:13306/fdkk_bim?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
  41. username: root
  42. password: JK123456%JIK
  43. hikari:
  44. minimum-idle: 5
  45. idle-timeout: 600000
  46. maximum-pool-size: 10
  47. auto-commit: true
  48. pool-name: MyHikariCP
  49. max-lifetime: 1800000
  50. connection-timeout: 30000
  51. connection-test-query: SELECT 1
  52. tlog:
  53. enable-invoke-time-print: true
  54. # 阿里云基本配置
  55. forest:
  56. max-connections: 1000 # 连接池最大连接数
  57. connect-timeout: 3000 # 连接超时时间,单位为毫秒
  58. read-timeout: 3000 # 数据读取超时时间,单位为毫秒
  59. logging:
  60. config: classpath:logback-spring.xml
  61. maxHistory: 1
  62. fdkk:
  63. level: INFO
  64. file:
  65. path: D:\gitProject\fdkk_bim\log
  66. bimface:
  67. appKey: 'uOaJWvZKlvGfQkqL6jlntMRC0RifHC8P'
  68. appSecret: 'Fe8vmVqKdtfBT9E7v2vNYw7taIX9fClU'
  69. bim:
  70. uploadPath: E://imgs//
  71. defaultFolder: bim
  72. webSite : https://8h9xtgjn91yg.ngrok.xiaomiqiu123.top
  73. chromeDriver : C://Python310//chromedriver.exe
  74. mixIntegral : 200
  75. # type: oss 阿里云 oss
  76. # type: aws 亚马逊
  77. # type: local 本地化
  78. upload:
  79. type: oss
  80. fyun:
  81. type: oss
  82. key: LTAIUrvuHqj8pvry
  83. secret: JLOVl0k8Ke0aaM8nLMMiUAZ3EiiqI4
  84. bucket: 4dkankan
  85. endPoint: http://oss-cn-shenzhen.aliyuncs.com
  86. host: https://4dkk.4dage.com/