#deploy backend on vercel?

12 messages · Page 1 of 1 (latest)

slender rune
#

No it is not possible to deploy de entire backend to vercel. They support function on the edge or serverless. But you can use vercel storage if you want though. On the other hand, the modules that we are developing at the moment can be deployed on vercel function, you ll be able to see that in the coming recap 😊

tall echo
#

Thank you ❤️

tall echo
#

@slender rune another question for this, how to use vercel KV with medusa backend? I'm trying to setup my backend like:

  • Source will be hosted on DigitalOcean
  • Portgres / Redis on Vercel.
    Possible?
slender rune
#

You just need to provide the url in your medusa config. Don’t forget when reaching a remote db you need to set database_extra: { ssl: { rejectUnauthorized: false }
}

tall echo
slender rune
#

Oups sorry, for kv there is no module or plugin, you would need to look at the redis module and implement a custom module, the example where we are using it is in a next function

tall echo
#

Thanks alot!

warm parcel
#

Is this even possible

subtle hull
warm parcel
#

@subtle hull what host provider do you recommend

subtle hull
#

Digitalocean apps, railway, fly.io

tall echo