All threads / Deploy Action Cable & Redis to production

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Deploy Action Cable & Redis to production

Maximilian Kirsch asked in Rails

I'm currently integrating Stimulus Reflex and Cable Ready in my application and want to deploy it to my production server. The guide here on how to deploy ActionCable to production seems very outdated, so some questions:

I found different tuturials on this topic, but most of them for Rails 4/5.
Regarding the cable.yml configuration file: If I install redis on my webserver, does the production url have to point to localhost or to my domain (url: redis://localhost:6379/1 or url: redis://redis.mydomain.com:6379/1)?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 34,674+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.