Next.js Discord

Discord Forum

Using Vercel Postgres SDK with local postgres database

Palomino posted this in #help-forum
Open in Discord
I'm following this guide
I've attached my docker file which I copied from the guide and I changed the code a bit as I don't want to use Kysely (or another ORM) but the connection fails. The error is also attached.

I've hidden my connection string in case it is not safe but I'm pretty sure it is safe? Would like confirmation.

I'm also open to trying another setup for my database. I just want a database for development. This would be easier to setup if I used a Vercel hosted database but none of the locations are close to Australia.

0 Replies