This is an example Spring Boot app using Kotlin.
- Uses Jetty web container
- Starts HTTP and HTTPs listener
- Enables some actuator endpoints (health, metrics)
Ensure you have Java 8 or later.
./generate-keystore.sh
./mvnw clean package
java -jar target/spring-boot-kotlin-example.jar
Ensure you have a working Docker environment.
make dist image run
Point your browser to http://localhost:8080
or use curl
in command line.
curl -v http://localhost:8080/
curl -v -k https://localhost:8443/
Actuator endpoints:
http://localhost:8080/actuator/metrics
http://localhost:8080/actuator/health