2022-11-18 19:20 UTC
@evanphx@ruby.social
Could you perhaps point to any instructions on how to place some puma processes on a separate machine?
Replies (1)
-
@evanphx@ruby.social 2022-11-18 23:03
@JohanEmpa@mastodon.green I can't find one off hand atm. The quick answer is that you'll configure config/database.yml on the separate machine to point to the correct database, then when with new puma's started, you'll edit the nginx config to include the new machine's ip as a valid backend. Look for "rails cluster setup" guides, they should apply fine.