Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-thirumal/spring-boot-admin-server
spring-boot-admin-server with Eureka server/Registry
https://github.com/m-thirumal/spring-boot-admin-server
eureka-server java-15 metrics spring-boot-actuator spring-boot-admin
Last synced: 19 days ago
JSON representation
spring-boot-admin-server with Eureka server/Registry
- Host: GitHub
- URL: https://github.com/m-thirumal/spring-boot-admin-server
- Owner: m-thirumal
- Created: 2020-03-15T11:10:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T03:07:07.000Z (about 2 months ago)
- Last Synced: 2024-11-06T04:18:51.108Z (about 2 months ago)
- Topics: eureka-server, java-15, metrics, spring-boot-actuator, spring-boot-admin
- Language: Java
- Homepage:
- Size: 829 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-boot-admin-server
Run with [Eureka server/registry](https://github.com/M-Thirumal/eureka-server)
* Spring boot admin will be the client of eureka-server
* Eureka-server will be the client of spring boot admin server
#### Login Details
```
URL : [http://localhost:7216](http://localhost:7216)
Username: thirumal
Password: thirumal
```##### The eureka client must expose the actuator end point
management.endpoints.web.exposure.include=*
management.endpoint.shutdown.enabled=true
management.endpoints.beans.sensitive=false##### Sample Eureka registration from client side
eureka:
instance:
appname: indsolv-cloud-config-server
leaseRenewalIntervalInSeconds: 10
preferIpAddress: true
health-check-url-path: /actuator/health
metadata-map:
startup: ${random.int} #needed to trigger info and endpoint update after restart
user:
name: "thirumal"
password: "thirumal"
client:
region: default
enabled: true
register-with-eureka: true
registryFetchIntervalSeconds: 5
fetch-registry: true
service-url:
defaultZone: http://thirumal:thirumal@localhost:8761/eureka/## Architecture
![Spring-boot-Admin-server-client-with-eureka](output/Spring-boot-Admin-server-client-with-eureka.svg)
## Run as JAR
./spring-boot-admin-server.sh
## Run in docker* Create docker layered image using the following command
mvn package
chmod -R 777 target/
mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar)
chmod -R 777 target/
docker build -t spring-boot-admin-server .
* Run the image
`docker run --name spring-boot-admin-server --restart always -d -p 7126:7126 spring-boot-admin-server`
* Run image with local log driver`docker run --name spring-boot-admin-server --restart always --log-driver local --log-opt max-size=10m --log-opt max-file=3 --log-opt compress=true -d -p 7126:7126 spring-boot-admin-server`
* Run image without log driver
`docker run --name spring-boot-admin-server --restart always --log-driver none -d -p 7126:7126 spring-boot-admin-server`
## Output
![1.png](output/1.png)
![2.png](output/2.png)
![3.png](output/3.png)
![4.png](output/4.png)