Public | Automated Build

Last pushed: 23 days ago
Short Description
Ruby unicorn container based ruby:alpine
Full Description

docker-unicorn

ruby unicorn container

How to Use

$ docker run -d \
>   -v /path/to/log:/var/log/unicorn/:rw \
>   -v /path/to/app:/unicorn:ro  \
>   -p 8000:8000
>   mhiroaki/unicorn
$ curl http://localhost:8000/
hello world
  • Change Listen port
    • -e LISTEN=8080
    • -e LISTEN=/var/run/unicorn.sock
    • Default 8000/tcp
  • Change number of process
    • -e PROCESS=4
    • default 1 process
Docker Pull Command
Owner
mhiroaki
Source Repository

Comments (0)