|
@ -2,9 +2,9 @@ threads_count = ENV.fetch('MAX_THREADS') { 5 }.to_i |
|
|
threads threads_count, threads_count |
|
|
threads threads_count, threads_count |
|
|
|
|
|
|
|
|
if ENV['SOCKET'] |
|
|
if ENV['SOCKET'] |
|
|
bind 'unix://' + ENV['SOCKET'] |
|
|
|
|
|
|
|
|
bind "unix://#{ENV['SOCKET']}" |
|
|
else |
|
|
else |
|
|
port ENV.fetch('PORT') { 3000 } |
|
|
|
|
|
|
|
|
bind "tcp://127.0.0.1:#{ENV.fetch('PORT', 3000)}" |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
environment ENV.fetch('RAILS_ENV') { 'development' } |
|
|
environment ENV.fetch('RAILS_ENV') { 'development' } |
|
|