Integrate Software AG Products Using Digital Event Services : API Gateway Configuration Guide : Docker Configuration : Load Balancer Configuration with the Docker Host
Load Balancer Configuration with the Docker Host
A port mapping is specified when you run the docker container. For example, running the docker container with the following command maps the IS port to the port 5858 on the docker host.
docker run -d -p 5858:5555 -p 9073:9072 --name apigw is:apigw
The host running the docker container is different from the host information within the docker container due to which the gateway endpoints exposed by API Gateway are not set correctly. To set this right you have to set up a load balancer configuration with the docker host and the mapped ports.
For the above example the following load balancer URLs are required:
*Load balancer URL (HTTP): http://dockerhost:5858
*Load balancer URL (WS): ws://dockerhost:5858
*Web application load balancer URL: http://dockerhost:9073
Note:  
If the API Gateway UI port is mapped to a different port on the docker host, the API Gateway solution link in the IS Administration UI does not work.
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback