Skip to content

joelcogen/heroku-buildpack-rails-unicorn-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Heroku buildpack: Rails + Unicorn + Nginx

Usage

  • Add it to your Heroku config:

    $ heroku config:add BUILDPACK_URL=https://github.com/joelcogen/heroku-buildpack-rails-unicorn-nginx

  • Require unicorn in your Gemfile:

    group :production do
      gem "unicorn"
    end
  • Deploy!

Customize

You can change the number of Unicorn threads (defaults to 3) by setting the WEB_CONCURRENCY environment variable:

$ heroku config:set WEB_CONCURRENCY=5

See the documentation for the dependencies below for other options to set. Anything you used with the default Ruby buildpack still works.

Credits

Uses

Based on ddollar/heroku-buildpack-multi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages