Public Repository

Last pushed: 4 months ago
Short Description
Run spring boot application
Full Description

Simple container for running spring boot apps

Volumes

Volume description
/app/app.jar Required, app jar or war
/app/application.properties optional external properties
/app/libs optional native libraries, image is using the following setting: java.library.path=/app/libs

Run from command line

docker run -v <path to jar/war>:/app/app.jar -v <path to application.properties>:/app/application.properties -it bh213/spring-boot-container

docker-compose sample

   my-service:
       image: bh213/spring-boot-container
       volumes: 
         - ./myservice/my-service-1.0.1-RELEASE.war:/app/app.jar 
       ports:
         - 8080:8080
Docker Pull Command
Owner
bh213

Comments (0)