application.yml 733 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. spring:
  2. rabbitmq:
  3. host: ${RABBIT_MQ_HOST:localhost}
  4. port: ${RABBIT_MQ_PORT:5672}
  5. username: ${RABBIT_MQ_USERNAME:guest}
  6. password: ${RABBIT_MQ_PASSWORD:guest}
  7. redis:
  8. host: ${REDIS_HOST:localhost}
  9. port: ${REDIS_PORT:6379}
  10. ##password: ${REDIS_PASSWORD:}
  11. #spring boot admin的登陆账号和密码配置
  12. security:
  13. user:
  14. name: admin
  15. password: 123456
  16. #通过rabbit MQ将日志发给zipkin
  17. zipkin:
  18. enabled: true
  19. sender:
  20. type: rabbit
  21. sleuth:
  22. sampler:
  23. probability: 1.0
  24. management:
  25. endpoints:
  26. web:
  27. exposure:
  28. include: '*'
  29. #日志相关配置
  30. logging:
  31. level:
  32. org.springframework.security: DEBUG
  33. path: logs/
  34. file:
  35. max-size: 1GB