The device API can be called through the proxy-redirect
Docker network that is available on all Industrial Edge Devices.
To use the proxy redirect network it must be added to the docker-compose.yaml as shown below:
version: '2.4'
service:
networks:
- edge-redirect
...
networks:
edge-redirect:
name: proxy-redirect
external: true
...
The Industrial Edge Device APIs can be then reached through its DNS name which will be resolved by the Docker resolver: edge-iot-core.proxy-redirect