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

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