TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'docker_echo_worker'
And then execute:
$ bundle
Or install it yourself as:
$ gem install docker_echo_worker
- Clone this project
$ git clone https://github.com/kiyohara/docker_echo_worker.git
$ cd docker_echo_worker
- Make gem pkg
$ rake build
- Create docker image
$ docker build -t docker_echo_worker .
- Run docker container
$ docker run -p 8080:8080 docker_echo_worker
- Check API
$ curl -X GET http://<docker host>:8080/
$ curl -X GET http://<docker host>:8080/ping
$ curl -X POST -d 'data=xxx' http://<docker host>:8080/echo
- Fork it ( https://github.com/[my-github-username]/docker_echo_worker/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request