When running prisma migrate deploy on Docker container I got this error
Error: P1001: Can’t reach database server at ep-plain-credit-656514.ap-southeast-1.aws.neon.tech
:5432
I already refer to this doc:
Already change the connect and pool timeout but still got the same error.
However when I try to migrate on local (not in docker container) everything works just fine.
Please help with this issue, thank you so much
Hey @gidgudgod!
I believe you already submitted a support ticket, correct?
yes this is the same issue as the submitted support ticket. Update, there’s some findings as well, the Nest.js app that run from Docker can’t connect to any database at all. Not only when prisma migrate deploy
, but also on any database operation such as find, update, etc. I wonder why in Docker it won’t reach the database
Nest.js app that run from Docker can’t connect to any database at all.
Sorry to hear that you’re running into this issue. Do you mind sharing a code example/minimal reproduction? This way we can help investigate