production deployment changes
This commit is contained in:
@@ -28,9 +28,24 @@ set :linked_dirs, %w{log tmp/pids tmp/puma tmp/cache tmp/sockets vendor/bundle p
|
||||
set :tests, []
|
||||
set :pty, true
|
||||
|
||||
set :puma_jungle_conf, '/etc/puma.conf'
|
||||
set :puma_run_path, '/usr/local/bin/run-puma'
|
||||
#set :puma_state, "#{shared_path}/tmp/pids/puma.state"
|
||||
#set :puma_pid, "#{shared_path}/tmp/pids/puma.pid"
|
||||
set :puma_bind, %w(tcp://0.0.0.0:9393)
|
||||
#set :puma_conf, "#{shared_path}/puma.rb"
|
||||
#set :puma_access_log, "#{shared_path}/log/puma_access.log"
|
||||
#set :puma_error_log, "#{shared_path}/log/puma_error.log"
|
||||
#set :puma_role, :app
|
||||
set :puma_env, fetch(:rack_env, fetch(:rails_env, 'production'))
|
||||
set :puma_threads, [0, 16]
|
||||
set :puma_workers, 2
|
||||
#set :puma_worker_timeout, nil
|
||||
#set :puma_init_active_record, false
|
||||
#set :puma_preload_app, false
|
||||
#set :puma_daemonize, false
|
||||
#set :puma_plugins, [] #accept array of plugins
|
||||
#set :puma_tag, fetch(:application)
|
||||
#set :puma_restart_command, 'bundle exec puma'
|
||||
|
||||
|
||||
#set :enable_ssl, true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user