- Ruby 2.6.3
- Docker >= 18.6
$ gem install bundler
$ bundle install
$ unicorn -c unicorn.rb
e.g. execute in develop environment
$ unicorn -c unicorn.rb --env development
$ docker build -t uuid-api-ruby ./ruby
$ docker run -it uuid-api-ruby
If you not want to build container at local environment, you can pull the image from dockerhub.
$ docker pull doridoridoriand/uuid-api
$ docker run -p 3000:3000 uuid-api:0.0.1
$ kubectl create namespace doridoridoriand
$ kubectl apply -f uuid-replicaset.yml
Check pods
$ kubectl get pods --namespace doridoridoriand