2022-11-18 23:03 UTC
@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.
Replies (2)
-
@JohanEmpa@mastodon.green 2022-11-18 23:16
@KuJoe@mindly.social Here's a starting point for setting up separate machines
-
@JohanEmpa@mastodon.green 2022-11-18 23:26
@evanphx@ruby.social Thank you for these tips 🙂