Image Renderer: update env variable in docs and custom Docker files (#36501)

* Docs: fix env variable for grafana-image-renderer plugin

* Fix image renderer env variable in custom Docker files
This commit is contained in:
Agnès Toulet 2021-07-07 18:05:55 +02:00 committed by GitHub
parent b23bfe1338
commit acf54905ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -208,5 +208,5 @@ instead of the pre-packaged version of Chromium.
To override the path to the Chrome/Chromium executable, set an environment variable and make sure that it's available for the Grafana process. For example:
```bash
export GF_RENDERER_PLUGIN_CHROME_BIN="/usr/bin/chromium-browser"
export GF_PLUGIN_RENDERING_CHROME_BIN="/usr/bin/chromium-browser"
```

View File

@ -24,7 +24,7 @@ fi
USER grafana
ENV GF_RENDERER_PLUGIN_CHROME_BIN="/usr/bin/chromium-browser"
ENV GF_PLUGIN_RENDERING_CHROME_BIN="/usr/bin/chromium-browser"
RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \
grafana-cli \

View File

@ -28,7 +28,7 @@ fi
USER grafana
ENV GF_RENDERER_PLUGIN_CHROME_BIN="/usr/bin/google-chrome"
ENV GF_PLUGIN_RENDERING_CHROME_BIN="/usr/bin/google-chrome"
RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \
grafana-cli \