Skip to main content

Deployment

Signed as Private Plugin

Plugin is signed as a Private plugin using the default domain http://localhost:3000.

If you are using a custom domain URL, there are various options depending on your deployment.

NGINX Reverse proxy

We recommend using NGINX in front of the Grafana for an extra level of protection. It allows keeping the default domain and redirecting requests.

Here is an example of Docker Compose. You can find NGINX configuration files in the repository.

docker-compose-nginx.yml
loading...

Unsigned plugin

Take a look at Allow Unsigned Plugins section in the Grafana Crash Course.

Build plugin and sign

Requirements

Go 1.20 and Node.js version 18.

You can build and sign the plugin manually following instructions.

npm install
npm run build
npm run build:backend
npx --yes @grafana/sign-plugin@latest --rootUrls http://CUSTOM-DOMAIN-URL/