From 7c4c2278ee4269232b767c0fd54cadc1c71ff9a9 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 19 Jan 2024 10:24:36 +0100 Subject: [PATCH] [bitnami/grafana-image-renderer] Release 3.9.0-debian-11-r5 (#54909) Signed-off-by: Bitnami Containers --- .../3/debian-11/Dockerfile | 4 +- .../3/debian-11/docker-compose.yml | 14 ------ bitnami/grafana-image-renderer/README.md | 50 +++++++++++++------ 3 files changed, 37 insertions(+), 31 deletions(-) delete mode 100644 bitnami/grafana-image-renderer/3/debian-11/docker-compose.yml diff --git a/bitnami/grafana-image-renderer/3/debian-11/Dockerfile b/bitnami/grafana-image-renderer/3/debian-11/Dockerfile index af76892d9ceb..3ca3d091597f 100644 --- a/bitnami/grafana-image-renderer/3/debian-11/Dockerfile +++ b/bitnami/grafana-image-renderer/3/debian-11/Dockerfile @@ -7,10 +7,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-01-09T07:55:56Z" \ + org.opencontainers.image.created="2024-01-19T08:34:45Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="3.9.0-debian-11-r4" \ + org.opencontainers.image.ref.name="3.9.0-debian-11-r5" \ org.opencontainers.image.title="grafana-image-renderer" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="3.9.0" diff --git a/bitnami/grafana-image-renderer/3/debian-11/docker-compose.yml b/bitnami/grafana-image-renderer/3/debian-11/docker-compose.yml deleted file mode 100644 index 1869b6d45a17..000000000000 --- a/bitnami/grafana-image-renderer/3/debian-11/docker-compose.yml +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright VMware, Inc. -# SPDX-License-Identifier: APACHE-2.0 - -version: '2' - -services: - grafana-image-renderer: - image: docker.io/bitnami/grafana-image-renderer:3 - ports: - - '8080:8080' - environment: - HTTP_HOST: "0.0.0.0" - HTTP_PORT: "8080" - ENABLE_METRICS: 'true' diff --git a/bitnami/grafana-image-renderer/README.md b/bitnami/grafana-image-renderer/README.md index 96c92774073d..130ab69f853e 100644 --- a/bitnami/grafana-image-renderer/README.md +++ b/bitnami/grafana-image-renderer/README.md @@ -108,6 +108,29 @@ docker run -d --name grafana \ You can customize Grafana Image Renderer settings by replacing the default configuration file with your custom configuration, or using environment variables. +### Environment variables + +#### Customizable environment variables + +| Name | Description | Default Value | +|-----------------------------------------|------------------------------------------------------|---------------| +| `GRAFANA_IMAGE_RENDERER_LISTEN_ADDRESS` | Grafana Image Renderer listen address | `127.0.0.1` | +| `GRAFANA_IMAGE_RENDERER_PORT_NUMBER` | Grafana Image Renderer port number | `8080` | +| `GRAFANA_IMAGE_RENDERER_ENABLE_METRICS` | Whether to enable metrics for Grafana Image Renderer | `yes` | + +#### Read-only environment variables + +| Name | Description | Value | +|---------------------------------------|--------------------------------------------------------------|-------------------------------------------------------| +| `GRAFANA_IMAGE_RENDERER_BASE_DIR` | Path to the Grafana Image Renderer installation directory | `${BITNAMI_ROOT_DIR}/grafana-image-renderer` | +| `GRAFANA_IMAGE_RENDERER_TMP_DIR` | Grafana Image Renderer directory for temporary runtime files | `${GRAFANA_IMAGE_RENDERER_BASE_DIR}/tmp` | +| `GRAFANA_IMAGE_RENDERER_LOGS_DIR` | Grafana Image Renderer directory for log files | `${GRAFANA_IMAGE_RENDERER_BASE_DIR}/logs` | +| `GRAFANA_IMAGE_RENDERER_PID_FILE` | Grafana Image Renderer PID file | `${GRAFANA_IMAGE_RENDERER_TMP_DIR}/renderer.pid` | +| `GRAFANA_IMAGE_RENDERER_LOG_FILE` | Grafana Image Renderer log file | `${GRAFANA_IMAGE_RENDERER_LOGS_DIR}/renderer.log` | +| `GRAFANA_IMAGE_RENDERER_CONF_FILE` | Path to the Grafana Image Renderer configuration file | `${GRAFANA_IMAGE_RENDERER_BASE_DIR}/conf/config.json` | +| `GRAFANA_IMAGE_RENDERER_DAEMON_USER` | Grafana system user. | `grafana-image-renderer` | +| `GRAFANA_IMAGE_RENDERER_DAEMON_GROUP` | Grafana system group. | `grafana-image-renderer` | + ### Configuration file The image looks for a `config.json` file in `/opt/bitnami/grafana-image-renderer/conf/`. You can mount a volume at `/opt/bitnami/grafana-image-renderer/conf/` and copy/edit the `config.json` file in the `/path/to/grafana-image-renderer-conf/` path. The default configurations will be populated to the `conf/` directory if it's empty. @@ -121,17 +144,12 @@ The image looks for a `config.json` file in `/opt/bitnami/grafana-image-renderer #### Step 1: Run the Grafana Image Renderer container -Run the Grafana Image Renderer container, mounting a directory from your host. Using Docker Compose: +Run the Grafana Image Renderer container, mounting a directory from your host. -```diff - image: bitnami/grafana-image-renderer:1 - ports: - - 8080:8080 -+ volumes: -+ - /path/to/grafana-image-renderer-conf/:/opt/bitnami/grafana-image-renderer/conf/ - environment: - HTTP_PORT: "8080" - HTTP_HOST: "0.0.0.0" +docker run --name grafana-image-renderer bitnami/grafana-image-renderer:latest + +```console +docker run --name grafana-image-renderer -v ${PWD}/path/to/grafana-image-renderer-conf:/opt/bitnami/grafana-image-renderer/conf/ bitnami/grafana-image-renderer:latest ``` #### Step 2: Edit the configuration @@ -144,11 +162,7 @@ vi /path/to/grafana-image-renderer-conf/config.json #### Step 3: Restart Grafana Image Renderer -After changing the configuration, restart your Grafana Image Renderer container for changes to take effect. Using Docker Compose: - -```console -docker-compose restart grafana-image-renderer -``` +After changing the configuration, restart your Grafana Image Renderer container for changes to take effect. After that, your configuration will be taken into account in the server's behaviour. @@ -196,6 +210,12 @@ Re-create your container from the new image: docker run --name grafana-image-renderer bitnami/grafana-image-renderer:latest ``` +## Notable Changes + +### Starting January 16, 2024 + +* The `docker-compose.yaml` file has been removed, as it was solely intended for internal testing purposes. + ## Contributing We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.