I'm trying to setup a CI environment on CircleCi with a database (postgres) and a pgAdmin4 control client, when doing it locally and doing a curl request to the mapped port (localhost8082) it redirects to the login page of pgamin4 as expected.
When doing it in the CI env curl keeps responding with connection refused. see full logs below. When I run docker ps in the Ci env i can see that the two containers are running and are mapped to the ports as specified.
basic script to execute docker-compose in the background and trying to connect to the server