A simple API application with sinatra and sidekiq.
Run docker.
$ docker-machine start dev
$ docker-machine env dev
Run web and redis containers.
$ docker-compose build
$ docker-compose run -d
Use API
$ curl -X POST -H "Accept: application/json" http://`docker-machine ip dev`:5000/things -d '{"id": 1, "thing": "foo"}'
$ curl -X GET http://`docker-machine ip dev`:5000/things