Anyone else run into the issue of not being able t...
# orm-help
a
Anyone else run into the issue of not being able to connect to the postgres db that is being run by prisma?
h
you have to get the container's ip, I don't think it binds to localhost
a
It does. I had to specify
Copy code
ports:
 - "5432:5432"
in the docker-compose file
h
well is it running and have you tried the container ip?
a
It connects now 🙂
s
The db container isn't exposed to localhost by default, thats why you can't connect to it unless you bind it like you did 🙂 Pretty sure its only connected to the other container which Prisma is running in by default.
a
@sd: On docker for mac, I don't think exposing the port is required for the prisma docker container to get access to it. But on windows it might be