# lcxm-project-admin **Repository Path**: lcxm-project/lcxm-project-admin ## Basic Information - **Project Name**: lcxm-project-admin - **Description**: springboot admin 对springboot项目的一些监控 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-09 - **Last Updated**: 2024-09-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## spring boot admin 管理其他springboot项目 ### admin 项目 #### 依赖 ```xml de.codecentric spring-boot-admin-starter-server 2.7.3 org.springframework.boot spring-boot-starter-actuator ``` #### 配置文件 @EnableAdminServer ```properties # 设置 Admin Server 的端口 server.port=10085 # Spring Boot Admin 基本配置 spring.application.name=admin-server # Actuator 配置,允许所有的端点暴露 management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always ``` ### 子项目 #### 依赖 ```xml org.springframework.boot spring-boot-starter-actuator de.codecentric spring-boot-admin-starter-client ${spring.boot.version} ``` #### 配置文件 ```properties # Spring Boot Admin 客户端配置 spring.boot.admin.client.url=http://localhost:10085 # Admin Server 的 URL spring.boot.admin.client.instance.prefer-ip=true management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always ```