Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Java App

This is a simple Spring Boot application that exposes a GET API at / that returns "hello [name]". The name is read from an environment variable called YOUR_NAME.

Running the application

Prerequisites

  • Java 17
  • Maven

Health Endpoint

This application exposes a health endpoint at /actuator/health. You can use this endpoint to monitor the health of the application.

Docker

Build the Docker image

docker build -t simple-java-app .

Run the Docker container

docker run -p 8080:8080 -e YOUR_NAME="your name" simple-java-app

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages