Hey guys! Sorry for probably stupid question. How ...
# orm-help
n
Hey guys! Sorry for probably stupid question. How can I get raw ProstgreSQL database access created by Prisma? I mean, I'd like to see generated tables, see data (maybe connect via some GUI like HeidiSQL).
i
i use squirrelsql on linux
n
But how you connect to Prisma's DB which is in Docker container?
i
expose it's port!
j
In case it's helpful, @Nikita, here is the
docker-compose.yml
configuration that iago is referring to:
version: '3' services: prisma: // .... prisma config here postgres: image: postgres restart: always ports: - "5432:5432" // <----- The important line
n
@iago @jangerhofer thank you a lot guys! For some reasons I cannot connect to see DB schema using GUI (like DBGlass), but it fully accessable via psql command, thanks!