rackbox-cookbook
rackbox-cookbook copied to clipboard
Setup a Rack-based application server to run Unicorn & Passenger apps.
nginx can't load the deployed rails app because of a default configuration left in 'sites-enabled'
There is a default sym-link ('000-default') in the /etc/nginx/sites-enabled directory that super-cedes the deployed rails app configuration. It needs to be deleted in order for nginx to load the rails...
This pull request is the first part of the fix for issue #2
Determine whether to run unicorn or unicorn_rails based on the presence of config.ru when the init script is starting the application.
- Preload unicorn apps by default. - Unicorn before_fork disconnects ActiveRecord connections - Unicorn after_fork establishes ActiveRecord connections - See https://devcenter.heroku.com/articles/rails-unicorn#preload-app
If SSL is on, we should be listening on 443. I suppose you could define two sites, but I think listening on both 80 (or another port not intended for...
I just ran into this error: ``` Recipe: rackbox::unicorn * runit_service[myapp] action restart ================================================================================ Error executing action `restart` on resource 'runit_service[myapp]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0],...
https://github.com/purcell/rails-runit/blob/master/unicorn-run https://gist.github.com/brentkirby/1039720 https://gist.github.com/czarneckid/4639793
I'm getting started with this cookbook, and following [this tutorial](http://teohm.github.io/blog/2013/04/17/chef-cookbooks-for-busy-ruby-developers/). If I understand correctly, the `apps` user doesn't really do anything, and the `deploy` user is meant for using with...
Due to a bug in the version of git that comes with Ubuntu 13.04 install rbenv fails. Is currently a bug in chef as well, so just a head up.
This cookbook is almost exactly what I need. I really like how you've organized it. Also, your tutorial was very helpful. However, instead of unicorn, I'd like to use puma....