most-analyst-82802
04/25/2022, 11:21 AMlocalhost:8080
. The problem is that when I'm trying to access anything from within Spryker that runs on localhost I get an error that the host refused to open a port.
I know that docker-compose ships with an option in the extra_hosts
called host-gateway
that will allow you to map a domain to your local environment outside of docker.
It doesn't look like the docker/sdk from Spryker doesn't really support this out of the box. (At least judging by the deploy file reference).
Whats your solutions for these problems? And does anyone know if there are plans for Sprykers docker/sdk to support the extra_hosts
entry any time soon?acoustic-holiday-14924
04/25/2022, 1:50 PMable-shoe-67344
04/27/2022, 9:51 PMdocker run -d --name keycloak --network <your spryker docker-network, e.g. "b2c_private"> <keycloak-image>
# test connection in spryker-container (e.g. cli, which is connected to "b2c_private")
curl <http://keycloak>[:<internal keycloak-port>]