Skip to content

DevOps test docker image exposing simple test endpoints

Notifications You must be signed in to change notification settings

mihindupaul/hello-rest-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker build hello-rest-docker .
docker run --rm -it -p 5000:80 hello-rest-docker

End points

/
returns simple "Hello World Message with 200 response"

/health
reutrns OK 200 response which can be used for infastructure health check such as AWS load balancer target group health check

/catfact
returns a random JSON response requested from external internet. this is usefull for testing external accessibility of the infastructure

About

DevOps test docker image exposing simple test endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published