I have multiple services running on docker containers, some only internally and some both internally and from outside the net through a reverse proxy (nginx-proxy-manager).

I would like to ask if it exists a dashboard that can link to the services from its internal IP address and if it fails, from its proxy host address. Or even better, links to internal or external addresses depending on how/where the dashboard is accessed.

The reason is that sometimes I access the dashboard from VPN and so internal IP addresses are the way to go, and sometimes (on public PCs) I access through the proxy host address of the dashboard, and I would need the URL to be external.

I have circumvented the problem with 2 instances of the same dashboard, one internal (i.e. homer on 192.168.1.1:8089) with internal IP addresses configured (i.e. jellyfin on 192.168.1.1:8096), and the other one, exposed on a different port through NPM (i.e. homer on homer.domain.com) and external IP addresses (jellyfin on jellyfin.domain.com…). But I have to duplicate the work when I met a change.

Thanks in advance.