Prepare your application
If you haven’t already dones so, perform the steps described in the Provisioning Redis section of the Getting Started guide. Also be sure that thepg gem is listed
in your Gemfile.
Now add the anycable-rails gem:
config/cable.yml thus:
Update your image
ModifyDockerfile to install foreman, anycable-go and nginx:
fly.toml to run foreman::
Procfile.fly to start the four processes required:
config/nginx.conf to reverse proxy cable traffic to anycable-go and send the
remainder to your Rails application::