csc-szls-oauth-dev.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. hostname: 172.16.0.2 #地址
  2. spring:
  3. boot:
  4. admin:
  5. client:
  6. url: "http://${hostname}:9610"
  7. password: password
  8. username: user
  9. instance:
  10. prefer-ip: true
  11. redis:
  12. database: 0 #Redis数据库索引(默认为0)
  13. timeout: 5000ms # 连接超时时间(毫秒)
  14. host: ${hostname}
  15. port: 6679
  16. password: 123456 # Redis服务器连接密码(默认为空)
  17. jedis:
  18. pool:
  19. max-active: 8 # 连接池中的最大连接
  20. max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
  21. max-idle: 8 # 连接池中的最大空闲连接
  22. min-idle: 0 # 连接池中的最小空闲连接
  23. datasource:
  24. driver-class-name: com.mysql.jdbc.Driver
  25. username: root
  26. password: 123456
  27. url: jdbc:mysql://101.36.160.140:10311/csc-szls?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
  28. # 配置rabbitmq的地址以及用户密码
  29. rabbitmq:
  30. host: ${hostname}
  31. port: 5672
  32. username: admin
  33. password: admin
  34. # 暴露监控端点http://localhost:9603/actuator/refresh 手动刷新
  35. management:
  36. endpoints:
  37. web:
  38. exposure:
  39. include: '*'
  40. # 2.0开始,actuator默认不开放,所以要设置为开发
  41. endpoint:
  42. health:
  43. show-details: ALWAYS
  44. mybatis:
  45. mapper-locations: classpath:/mapper/*Mapper.xml
  46. my-config:
  47. clientId: client_oauth
  48. logging:
  49. level:
  50. com.unissoft.mapper: DEBUG #包路径为mapper文件包路径