Skip to content

A sample microservice using Spring boot and maven docker plugin

Notifications You must be signed in to change notification settings

waleedaleem/sample-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample boot Microservice

This is a sample Hello World microservice built using Spring boot and Fabric8 Docker Maven plugin.

Building The Image

$ mvn clean package docker:build

Running The Container

$ docker run -p 80:8080 sample-boot --name sample-boot

Testing The REST Endpoint

$ curl -s -X GET localhost/hello/Walid
Hello Walid!
$ curl -s -X GET localhost/hello
Hello World!

About

A sample microservice using Spring boot and maven docker plugin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published