Basic Spring Boot app with MongoDB, API hit counter, and random number generator. Part home_lab_k8s
331
Repository Name: malcolmleehan/springbootapp
Description:
This Docker image contains a basic Spring Boot application that interacts with a MongoDB database. It's part of a project focused on building and deploying a small Kubernetes cluster on-premises.
## Features
- **API Hit Counter**: Tracks the number of times a specific API endpoint is accessed.
- **Random Number Generator**: Maintains a list of the last 30 random numbers generated.
- **Health Check**: Provides an endpoint to check the application's health status.
## Quick Start
1. **Pull the Image**:
```bash
docker pull malcolmleehan/springbootapp:latest
docker run -d -p 8080:8080 malcolmleehan/springbootapp:latest
For full details, including how to build and deploy this application, visit the GitLab repository:
Content type
Image
Digest
sha256:872cef3c1…
Size
115 MB
Last updated
almost 2 years ago
docker pull malcolmleehan/springbootapp