Sign inSign up

bh213/spring-boot-container

By bh213

Updated over 9 years ago

Run spring boot application

Image
0

257

bh213/spring-boot-container repository overview

Simple container for running spring boot apps

Volumes

Volumedescription
/app/app.jarRequired, app jar or war
/app/application.propertiesoptional external properties
/app/libsoptional 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

Tag summary

Content type

Image

Digest

Size

232.6 MB

Last updated

over 9 years ago

docker pull bh213/spring-boot-container