application-sit.yml 1.9 KB

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