application.yml 843 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. server:
  2. port: 9090
  3. spring:
  4. application:
  5. name: ruoyi-monitor-admin
  6. profiles:
  7. active: @profiles.active@
  8. logging:
  9. config: classpath:logback-plus.xml
  10. --- # 监控中心服务端配置
  11. spring:
  12. security:
  13. user:
  14. name: ruoyi
  15. password: 123456
  16. boot:
  17. admin:
  18. ui:
  19. title: RuoYi-Vue-Plus服务监控中心
  20. context-path: /admin
  21. --- # Actuator 监控端点的配置项
  22. management:
  23. endpoints:
  24. web:
  25. exposure:
  26. include: '*'
  27. endpoint:
  28. health:
  29. show-details: ALWAYS
  30. logfile:
  31. external-file: ./logs/ruoyi-monitor-admin.log
  32. --- # 监控配置
  33. spring.boot.admin.client:
  34. # 增加客户端开关
  35. enabled: false
  36. # 设置 Spring Boot Admin Server 地址
  37. url: http://localhost:9090/admin
  38. instance:
  39. service-host-type: IP
  40. username: ruoyi
  41. password: 123456