As you will seen this is only a dockerized Sinatra application example
Just use the makefile, it will guide you through the operations
make help
Usage:
make <target>
Targets:
help Shows this pretty screen
docker/build Builds the Docker image
docker/run Runs the compose scenario
docker/stop Runs the compose scenario
To run the demo you should follow these steps
-
Make the docker image
make docker/build
-
Run the Docker compose scenario:
make docker/run
-
Test the application
curl -s http://localhost:4567/counter | jq