Setting up Redis on Cloud66 for Sidekiq

Cloud66 will automatically install and setup Redis for you after analyzing your app.

By default Cloud66 will provide a REDIS_ADDRESS environment variable with the IP address to your redis server.

To get it running with Sidekiq, add the variable to your Procfile.

worker: env RAILS_ENV=$RAILS_ENV REDIS_URL=redis://$REDIS_ADDRESS bundle exec sidekiq

Sidekiq will recognize your redis server and you’ll be up and running!