DokployD
Dokploy10mo ago
Zamblar

My app can't connect to internal postgresql

Hey everyone, I'm testing Dokploy using docker desktop on Windows, deploying an app by dropping the .zip and I'm facing an issue, I have my PostgresDB running perfectly (I was able to connect to it exposing the port), but when I try to deploy the app, I get the error from the image, the deploy isn't able to reach my DB, I know that both services should be in the same network, but I can't find any network configuration within my app container

I'm using these .env vars in my project:
DATABASE_URL=${{project.DATABASE_URL}}
DIRECT_URL=${{project.DATABASE_URL}}

Help would be very appreciated, thanks!
image.png
Was this page helpful?