Next.js Discord

Discord Forum

Using Vercel Postgres SDK with local postgres database

Unanswered
Palomino posted this in #help-forum
Open in Discord
Avatar
PalominoOP
I'm following this guide https://gal.hagever.com/posts/running-vercel-postgres-locally.
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.
Image
Image
Image

0 Replies