Relative Content

Tag Archive for postgresqldockerdocker-composenestjstypeorm

Can’t connect to dockerized database using TypeORM

I’m building a full-stack application for a college assignment. I’m using a PostgreSQL database and NestJS with TypeORM. Throughout development, the database was dockerized and I used it without any problems. During that time, my API was running locally. Now I’m trying to dockerize the API as well, but I cannot get it to connect to the database. And worst of all, I can’t get it to log anything except for: