Integrate Software AG Products Using Digital Event Services 10.4 | 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 image 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 and the port within the Docker container are different from the host running the Docker container and the port exposed on the host. As a result, the gateway endpoints exposed by API Gateway are set incorrectly. 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 © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release