Add unicorn config.

pull/1775/head
Cyril Rohr 11 years ago committed by kgalli
parent 7c39505684
commit d1bb0dc0c5
  1. 2
      Procfile
  2. 3
      config/unicorn.rb

@ -1,4 +1,4 @@
web: bundle exec unicorn --host ${HOST:="127.0.0.1"} --port ${PORT:="8080"} --env ${RAILS_ENV:="development"}
web: bundle exec unicorn --config-file config/unicorn.rb --host ${HOST:="127.0.0.1"} --port ${PORT:="8080"} --env ${RAILS_ENV:="development"}
worker: bundle exec rake jobs:work
backup: ./packaging/scripts/backup
check: ./packaging/scripts/check

@ -0,0 +1,3 @@
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 1)
timeout 15
preload_app false
Loading…
Cancel
Save