DokployD
Dokploy11mo ago
6 replies
ioTactile

Next, prisma, postgres setup error

Hello,
I would like to setup a next, prisma, postgres project. In production I have this error:

⨯ Error [PrismaClientInitializationError]:
Invalid prisma.user.findUnique() invocation:
Can't reach database server at vertical-sync-prod-ndyoam:5432
Please make sure your database server is running at vertical-sync-prod-ndyoam:5432.

I have set up the environment variable with the internal connection url. By the way, I'd like to know how it works to add extensions like postgis, and how migrations, push db seed etc work?
Was this page helpful?