How to enable panel private plugin to run with dynamic port

Hi there,

We are using Grafana version 8+, We were able to sign the private plugin.

How can we allow the plugin to run with any dynamic port

yarn sign --rootUrls http://localhost:3000,http://localhost:80

while we sign the plugin if we give port 3000 and 80, plugin working fine for both the ports. But if user changed/configured with different port then the plugin is not available to use.

Please suggest at earliest.

Thanks

This is a restriction of the private plugins. You can use NGINX in front of the Grafana to use any port and redirect requests to port 3000.

2 Likes