csc-szls-business-dev.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. # mysql配置
  15. datasource:
  16. driver-class-name: com.mysql.jdbc.Driver
  17. username: root
  18. password: 123456
  19. url: jdbc:mysql://101.36.160.140:10311/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
  20. # 配置rabbitmq的地址以及用户密码
  21. # rabbitmq:
  22. # host: 172.16.0.46
  23. # port: 5672
  24. # username: admin
  25. # password: admin
  26. mybatis:
  27. mapper-locations: classpath:/mapper/*Mapper.xml
  28. # 配置mybatis-plus
  29. mybatis-plus:
  30. # 配置扫描xml
  31. mapper-locations: classpath:/mapper/*Mapper.xml
  32. # 实体扫描,多个package用逗号或者分号分隔
  33. type-aliases-package: com.unissoft.model
  34. ribbon:
  35. ReadTimeout: 10000
  36. ConnectTimeout: 10000
  37. MaxAutoRetries: 1
  38. MaxAutoRetriesNextServer: 2
  39. #熔断器开启
  40. feign:
  41. hystrix:
  42. enabled: true
  43. # 暴露监控端点http://localhost:9603/actuator/refresh 手动刷新
  44. management:
  45. endpoints:
  46. web:
  47. exposure:
  48. include: '*'
  49. my-config:
  50. isUseSecurity: true #是否使用security权限
  51. projectCode: csc_szls_business #项目编码
  52. clientId: client_csc_szls_business #客户端id
  53. testdemo: to130000000666