Hi Benjamin,
Thanks for the fast reply. Yes, I
intend to use multiple Docker containers, one for each SPARQL endpoint. My setup is that I run one container with port mapping "8080:8080" and the second with
"8082:8080". Then I am able to access the endpoints from
<
http://localhost:8080/> and
<
http://localhost:8082/> from
outside the container (e.g., via my browser).
However, I want (or rather my application) to access both endpoints internally within the same Docker network (my Metaphactory instance is deployed in a Docker container and shall access multiple virtual SPARQL endpoints as repositories).
As far as I understand, the port mappings do not affect which port the Ontop Docker application inside
the container listens to. The application's listening port is determined
by its own configuration. If Ontop is configured to listen on port
8080, changing the Docker port mapping to "8082:8082" wouldn't make Ontop listen on port 8082 unless Ontop itself is reconfigured to listen on this new port. So I am wondering how I can achieve this. Or do I oversee something?
Best, André