Database connection failed: SQLSTATE[08006] [7] connection to server at "db" (172.18.0.2), port 5433 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?