application-dev.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. spring:
  2. jmx:
  3. default-domain: zhoushan_system
  4. enabled: false
  5. application:
  6. name: zhoushan_system
  7. servlet:
  8. multipart:
  9. maxFileSize: 1000MB
  10. maxRequestSize: 1000MB
  11. datasource:
  12. # db 项目测试服务器
  13. url: jdbc:mysql://8.135.106.227:3306/${project.en}?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  14. username: root
  15. password: 4dkk2021testproject%
  16. driver-class-name: com.mysql.jdbc.Driver
  17. # Redis数据库索引(默认为0)
  18. redis:
  19. database: 0
  20. host: 127.0.0.1
  21. port: 6379
  22. password:
  23. # 连接超时时间 单位 ms(毫秒)
  24. timeout: 3000ms
  25. # 连接池中的最大空闲连接,默认值也是8。
  26. jedis:
  27. pool:
  28. max-idle: 8
  29. #连接池中的最小空闲连接,默认值也是0。
  30. min-idle: 0
  31. # 如果赋值为-1,则表示不限制;如果pool已经分配了maxActive个jedis实例,则此时pool的状态为exhausted(耗尽)。
  32. max-active: 8
  33. # 等待可用连接的最大时间,单位毫秒,默认值为-1,表示永不超时。如果超过等待时间,则直接抛出JedisConnectionException
  34. max-wait: -1ms
  35. # 配置静态资源跟目录
  36. mvc:
  37. static-path-pattern: /**
  38. resources:
  39. static-locations: file:${my.file.path}
  40. upload:
  41. head: ${my.file.path}/head
  42. information: ${my.file.path}/information
  43. collection: ${my.file.path}/collection
  44. exhibition: ${my.file.path}/exhibition
  45. swagger:
  46. package: com.fdage.controller
  47. title: ${project.sc}-dev
  48. description: ${swagger.title}
  49. version: 1.0
  50. # 服务器存放地址
  51. my:
  52. file:
  53. path: E:/data/${project.en}_data
  54. logging:
  55. path: E:/log/${project.en}_log
  56. config: classpath:logback-spring.xml
  57. level:
  58. com:
  59. fdage: debug