Prepare your application
If you havenāt already done so, create an Upstash Redis database. 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::