apiconnect-docker
apiconnect-docker copied to clipboard
how to expose API Connect host names as the docker host machine hostname/ip?
How do you expose the API Connect docker host names (apim ibmportal datapower microservice) as just the host name of the host machine?
The documentation in here describes updating your /etc/hosts file to map the ip address to these host names, but this doesn't allow them to be accessed external to he host machine. How do you map these docker host names so that they are exposed to the network as:
Were you able to resolve this issue?
I use Traefik (https://traefik.io/) as a reverse proxy for APIC. Then I can access the CMC on https://apimhostname.co.com/cmc the APIM on https://apimhostname.co.com/apim and the DataPower on https://datapowerhostname.co.com:9090
I use a combination of labels on the docker images as well as routing in the traefik.toml file. Let me know if you want/need more info.