algora-io / tv

Open source Twitch for developers
https://algora.tv
Other
1.01k stars 59 forks source link

Deployment on fly.io with master/replica #57

Open mazz opened 2 months ago

mazz commented 2 months ago

Has anyone gotten this app deployed on fly.io with regional master/replica databases working?

I'm having trouble getting things configured on fly.io. I'm confused about how it appears you need to create at least two database instances, one master, one replica(and I'm not clear on how to associate the machines along with them).

zcesur commented 2 months ago

Hey Michael! Creating a multi-node Postgres cluster is not at all required to deploy Algora TV, you can actually just use a single-node setup. Fly.io docs walk you through the steps to connect to your database

mazz commented 2 months ago

Hey Michael! Creating a multi-node Postgres cluster is not at all required to deploy Algora TV, you can actually just use a single-node setup. Fly.io docs walk you through the steps to connect to your database

Yes maybe I’ll try that first, thanks.