|
@ -3,9 +3,10 @@ threads threads_count, threads_count |
|
|
|
|
|
|
|
|
if ENV['SOCKET'] then |
|
|
if ENV['SOCKET'] then |
|
|
bind 'unix://' + ENV['SOCKET'] |
|
|
bind 'unix://' + ENV['SOCKET'] |
|
|
|
|
|
else |
|
|
|
|
|
port ENV.fetch('PORT') { 3000 } |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
port ENV.fetch('PORT') { 3000 } |
|
|
|
|
|
environment ENV.fetch('RAILS_ENV') { 'development' } |
|
|
environment ENV.fetch('RAILS_ENV') { 'development' } |
|
|
workers ENV.fetch('WEB_CONCURRENCY') { 2 } |
|
|
workers ENV.fetch('WEB_CONCURRENCY') { 2 } |
|
|
|
|
|
|
|
|