Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.55 KB

container-spring_boot.md

File metadata and controls

26 lines (21 loc) · 1.55 KB

Spring Boot Container

The Spring Boot Container allows Spring Boot applications, packaged distZip-style to be run. Note All styles of Sping Boot can be run (e.g. self-executable JAR, WAR file, distZip-style). This is just explicit support for the distZip style.

Detection Criteria The lib/spring-boot-.*.jar file exists in either the top-level directory or an immediate subdirectory of the application.
Tags spring-boot=<version>
Tags are printed to standard output by the buildpack detect script

The container expects to run the application creating by running gradle distZip in an application built with the Spring Boot Gradle plugin.

If the application uses Spring, Spring profiles can be specified by setting the SPRING_PROFILES_ACTIVE environment variable. This is automatically detected and used by Spring. The Spring Auto-reconfiguration Framework will specify the cloud profile in addition to any others.

Configuration

The Spring Boot Container cannot be configured.