I’ve been learning Elixir and Phoenix for some time now I would like to deploy my first app to Fly.io. The thing is, I’m a beginner and I don’t really know how to structure my app and volumes.
So, I have a Phoenix app which uses Postgres as a database and the app allows users to upload images. I believe I have to create a VM and then I need to create a volume on which user uploads will be stored, right? Also, as I’m using postgres, do I need to create another volume for it or is there some other way to handle database?
As I said, I’m a beginner and I really hope someone could give me some guidance on how to set it up properly.