Spring boot app with a basic todos rest api and the actuators all turned on
build with jdk 11+
$ ./gradlew build
$ docker build --build-arg JAR_FILE=build/libs/\*.jar -t springboot-crud-actuator:latest .
$ docker run --name springboot-crud-actuator -d -p 8080:8080 springboot-crud-actuator:latest
OR run latest image from docker hub with...
$ docker run -d -p 8080:8080 dawogfather/springboot-crud-actuator:latest
$ docker login
$ docker tag springboot-crud-actuator:latest <username>/springboot-crud-actuator:latest
$ docker push <username>/springboot-crud-actuator:latest
$ curl 'http://localhost:8080/actuator/env' -i -X GET | jq .
$ curl 'http://localhost:8080/api/todo' -i -X GET | jq .
$ curl -X POST -H "Content-Type: application/json" -d '{"title":"Keep being awesome", "description":"Complete assignments", "todoStatus":"NOT_COMPLETED"}' http://localhost:8080/api/v1/todo
$ curl -X PUT -H "Content-Type: application/json" -d '{"title":"Go to school mate", "description":"Complete assignments", "todoStatus":"COMPLETED"}' http://localhost:8080/api/v1/todo/2
$ curl -X DELETE -H "Content-Type: application/json" http://localhost:8080/api/v1/todo/2