docker ps | grep db
Verify ip port:
ago      Up 13 minutes       0.0.0.0:8432->5432/tcp   wkpro-api_db_1

In this case port 8432 should be used