IP address forwarding

I need to display dynamically, a set of images served by Node-RED using the following URL http://172.19.0.4:1880/images?time=${__to}. I have deployed Grafana and Node-RED through Docker and have placed them on the same subnet. However, I only have the 3000 gateway open to the internet. How could I redirect the URL to load the image to the Grafana internal network instead of the browser network (from usser side)?

Note: The Grafana IP address internal to the Docker is 172.19.0.3. I have further performed the test from Grafana shell

curl http:// 172.19.0.4:1880/images?time=1727095791358

Grafana resolves to see the file.

My question is how to redirect the internal IP instead of the public one.
I have used a “text” panel with the following HTML code

<img src=“http://172.19.0.4:1880/images?time=${__to }” alt=“Latest Camera Image” />

you need some sort of reverse proxy, like apache, npm(nginx), traefik etc.

otherwise the user is going to be trying to access resources in the docker network, which they obviously dont have access to.