Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1005 Bytes

File metadata and controls

48 lines (33 loc) · 1005 Bytes

Health Simulator

App to simulate changes in health status. Spring Boot Admin reports these in the UI and with browser notifications (if you allow browser notifications).

Build Script

You can run the whole build with the following script or follow the step-by-step guide below.

chmod u+x build.sh
./build.sh

Step-by-step build

Build App

mvn package

Build Docker Image

docker build --tag health-simulator-nacos .

Run

This assumes, that you have Nacos running on its default port on your local machine.

docker run --name health-simulator-nacos -e NACOS_SERVER_ADDR=host.docker.internal:8848 -p 8280:8080 -p 8281:8081 -d --rm health-simulator-nacos

URI

Simulated health status

Change the health status

Access Actuator

URI