Skip to content

Commit

Permalink
add initializer for scalingo
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienMLD committed Nov 28, 2023
1 parent 5027346 commit 0fe0f36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
web: bundle exec puma -C config/puma.rb
clock: bundle exec clockwork app/models/clockwork.rb
delayedjob: bundle exec sidekiq
worker: bundle exec sidekiq

postdeploy: bundle exec rake db:migrate
3 changes: 3 additions & 0 deletions config/initializers/sidekiq.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Sidekiq.configure_client do |config|
config.redis = { url: ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } }
end

0 comments on commit 0fe0f36

Please sign in to comment.