csc-szls-system-manage-dev.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. spring:
  2. redis:
  3. database: 0 #Redis数据库索引(默认为0)
  4. timeout: 5000ms # 连接超时时间(毫秒)
  5. host: 172.16.0.2
  6. port: 6679
  7. password: 123456 # Redis服务器连接密码(默认为空)
  8. jedis:
  9. pool:
  10. max-active: 8 # 连接池中的最大连接
  11. max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
  12. max-idle: 8 # 连接池中的最大空闲连接
  13. min-idle: 0 # 连接池中的最小空闲连接
  14. servlet:
  15. multipart:
  16. #单个文件上传大小
  17. max-file-size: 10MB
  18. #总数上传大小
  19. max-request-size: 100MB
  20. # mysql配置
  21. datasource:
  22. driver-class-name: com.mysql.jdbc.Driver
  23. username: root
  24. password: 123456
  25. url: jdbc:mysql://101.36.160.140:10311/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
  26. # 配置rabbitmq的地址以及用户密码
  27. rabbitmq:
  28. host: 172.16.0.2
  29. port: 5672
  30. username: admin
  31. password: admin
  32. mybatis:
  33. mapper-locations: classpath:/mapper/*Mapper.xml
  34. # 配置mybatis-plus
  35. mybatis-plus:
  36. # 配置扫描xml
  37. mapper-locations: classpath:/mapper/*Mapper.xml
  38. # 实体扫描,多个package用逗号或者分号分隔
  39. type-aliases-package: com.unissoft.model
  40. ribbon:
  41. ReadTimeout: 10000
  42. ConnectTimeout: 10000
  43. MaxAutoRetries: 1
  44. MaxAutoRetriesNextServer: 2
  45. #熔断器开启
  46. feign:
  47. hystrix:
  48. enabled: true
  49. # 暴露监控端点http://localhost:9603/actuator/refresh 手动刷新
  50. management:
  51. endpoints:
  52. web:
  53. exposure:
  54. include: '*'
  55. my-config:
  56. isUseSecurity: true #是否使用security权限
  57. projectCode: csc-szls-system-manage #项目编码
  58. clientId: client_csc_szls_system_manage #客户端id
  59. minio:
  60. endpoint: http://172.16.0.2:9998 #图片服务器访问地址
  61. accesskey: minioAdmin #账号
  62. secretkey: minioAdmin1 #密码
  63. testdemo: to188888888888