mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Add unicorn config.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user