The test runner of django was trying to run tests with local hosted database. But our django server and postgres server are in separated containers each, sodjango container could not connect postgres database was in other container on previous settings.
So, I've added the link configs on docker-compose-dev and settings/local.py.
The test runner of django was trying to run tests with local hosted database. But our
django
server andpostgres
server are in separated containers each, sodjango
container could not connect postgres database was in other container on previous settings.So, I've added the link configs on
docker-compose-dev
andsettings/local.py
.