| | |
| | | database: 8 |
| | | password: 123456 |
| | | |
| | | --- #################### 监控相关配置 #################### |
| | | |
| | | # Actuator 监控端点的配置项 |
| | | management: |
| | | endpoints: |
| | | web: |
| | | base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator |
| | | exposure: |
| | | include: '*' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 |
| | | |
| | | # Spring Boot Admin 配置项 |
| | | spring: |
| | | boot: |
| | | admin: |
| | | # Spring Boot Admin Client 客户端的相关配置 |
| | | client: |
| | | instance: |
| | | service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME] |
| | | context-path: /admin # 配置 Spring |
| | | |
| | | --- #################### MQ #################### |
| | | |
| | | spring: |