Prod build process
This commit is contained in:
@@ -83,6 +83,6 @@ Rails.application.configure do
|
||||
# config.generators.apply_rubocop_autocorrect_after_generate!
|
||||
|
||||
config.active_job.queue_adapter = :solid_queue
|
||||
config.solid_queue.connects_to = { database: { writing: :baclight } }
|
||||
config.solid_queue.connects_to = { database: { writing: :primary } }
|
||||
# config.active_job.queue_adapter = :async
|
||||
end
|
||||
|
||||
@@ -49,7 +49,7 @@ Rails.application.configure do
|
||||
# config.assume_ssl = true
|
||||
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
config.force_ssl = true
|
||||
config.force_ssl = false
|
||||
|
||||
# Skip http-to-https redirect for the default health check endpoint.
|
||||
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
|
||||
@@ -71,7 +71,8 @@ Rails.application.configure do
|
||||
# config.cache_store = :mem_cache_store
|
||||
|
||||
# Use a real queuing backend for Active Job (and separate queues per environment).
|
||||
config.active_job.queue_adapter = :solid_queue
|
||||
config.active_job.queue_adapter = :delayed_job
|
||||
# config.solid_queue.connects_to = { database: { writing: :primary } }
|
||||
# config.solid_queue.connects_to = { database: { writing: :queue } }
|
||||
# config.solid_queue.connects_to = { database: { writing: :queue } }
|
||||
# config.active_job.queue_name_prefix = "railsondocker_production"
|
||||
|
||||
Reference in New Issue
Block a user