This is a simple Sinatra app used as a demonstration of a backend microservice. The app contains just two endpoints:
- The root URL (
/
) returns the text "Hello, World". - The
/health
URL is a health check endpoint that returns a 200 OK. The ELB uses this endpoint to determine if the app is up and running.
This app contains a Dockerfile that packages the app as a Docker container.
- This app is configured with MU so download/install that according to their instructions.
first run:
mu env up backend
then
mu pipeline up
you can watch progress with:
watch -n 10 -c mu svc show