mearaj / bhagad-house-booking

MIT License
3 stars 2 forks source link

make a Fly.io deploy #6

Closed gedw99 closed 1 year ago

gedw99 commented 2 years ago

Fly.io has a postgresql already we can use.

It's also free for one project.

Its does scaling out to many regions with the DB synced for you between the regions. SO users get much faster experience because the fly.io proxy automatically directs the usr to the closest / fastest region.

https://fly.io/blog/globally-distributed-postgres/

https://fly.io/docs/getting-started/multi-region-databases/

We can adapt the makefile / and hence CI to autodeploy releases to FLY later. We can also make it autodeploy PR's later.

mearaj commented 1 year ago

It's done. Thanks a lot :)