![]() ![]() Spring Boot 2 and Docker (package only)Ī Dockerfile is also provided at the same repository. You can use the standard spring-boot:run command to run it locally (without Docker). Once launched the application presents a simple message at localhost:8080 and also at the various /actuator/health endpoints. The application is launched locally as part of the Maven lifecycle. mvn verify runs integration tests as well.mvn package creates a jar file that can be run on its own (exposes port 8080).The repository contains a Spring Boot 2 project built with Maven with the following goals: Compared to traditional application servers,it is a bit different since it includes a servlet container in the final JAR file allowingįor self-contained Java Archives (JAR files).Ĭodefresh can easily handle Spring Boot applications that are dockerized either in the traditional way or using multi-stage builds. Spring Boot is quickly becoming a very popular choice for building Java back-end applications. ![]() ![]() Improve this page on GitHub Spring Boot 2/Maven ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |