1
votes

I am setting up a WSO2 docker. I am using the WSO2 Dockerfiles from github (https://github.com/wso2/docker-apim) an the latest WSO2 Api Manager version (2.10). The Installation has succeeded, so I started the docker container. WSO2 starts up and I was able to deploy a Swagger URL based API.

I am also able to access the API through the store interface. And here starts my trouble: When I am trying to test the API through the integrated Swagger UI, the API manager is making use of the internal docker IP:

enter image description here

I have set up this port configuration:

enter image description here

How can I force WSO2 Api Manager to use the Docker public IP?

Many thanks :-)

1

1 Answers

3
votes

In the repository/conf/api-manager.xml you can find following element

APIGateway/Environments/Environment/GatewayEndpoint

If you have multiple gateways, you may want to create an HTTP(S) load balancer.