Remix.run Logo
cosmic_cheese 2 days ago

How tightly coupled to Fly.io are generated apps?

chrismccord 2 days ago | parent [-]

Everything starts as a stock phx.new app which use sqlite by default. Nothing is specific to fly. You should be able to copy the git clone url, paste, cd && mix deps.get && mix phx.server locally and the app will just work.

kuatroka a day ago | parent | next [-]

Does it mean I can build and deploy a SQLite based app on fly.io with this approach without using Postgres? If yes, how does the pricing for the permanent storage ( add) needed for SQLite works? Thanks

chrismccord an hour ago | parent [-]

You would need to add a fly volume ($0.15/GB per month of provisioned capacity ), also check out https://fly.io/blog/litestream-revamped/

freedomben a day ago | parent | prev [-]

If you're willing to share, is maintaining that modularization the plan going forward? I'm pretty happy to use and pay for this and deploy it to fly, but only as long as I'm not "locked in."