From 32ca56820077374c8057b4bbd75e811e1a9aa9d9 Mon Sep 17 00:00:00 2001 From: brooke Date: Thu, 17 Jul 2025 17:24:45 -0400 Subject: [PATCH 1/3] bump grafana version, switch to open source image --- compose.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/compose.yml b/compose.yml index ddc0014..60e7012 100644 --- a/compose.yml +++ b/compose.yml @@ -3,11 +3,13 @@ version: "3.8" services: app: - image: grafana/grafana:8.4.3 + image: grafana/grafana-oss:12.0.2 + environment: + GF_INSTALL_PLUGINS: "$GRAFANA_PLUGINS" networks: - proxy volumes: - - app:/var/lib/grafana + - grafana:/var/lib/grafana deploy: update_config: failure_action: rollback @@ -19,12 +21,11 @@ services: - "traefik.http.routers.${STACK_NAME}_web.rule=Host(`${DOMAIN}`)" - "traefik.http.routers.${STACK_NAME}_web.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}_web.tls.certresolver=${LETS_ENCRYPT_ENV}" - - "coop-cloud.${STACK_NAME}.version=0.0.1+8.4.3" - + - "coop-cloud.${STACK_NAME}.version=0.1.0+12.0.2" networks: proxy: external: true volumes: - app: + grafana: -- 2.49.0 From 9d46c3433b7fc08c39a243eda347561a9ec7d9ed Mon Sep 17 00:00:00 2001 From: brooke Date: Thu, 17 Jul 2025 17:25:06 -0400 Subject: [PATCH 2/3] add COMPOSE_FILE and GRAFANA_PLUGINS env variables --- .env.sample | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.env.sample b/.env.sample index 512a116..1c5fb58 100644 --- a/.env.sample +++ b/.env.sample @@ -2,3 +2,6 @@ TYPE=grafana DOMAIN=grafana.example.com LETS_ENCRYPT_ENV=production +COMPOSE_FILE=compose.yml + +# GRAFANA_PLUGINS= -- 2.49.0 From db830a8b5495e3259ff3021cbc0fcebd98d85266 Mon Sep 17 00:00:00 2001 From: brooke Date: Thu, 17 Jul 2025 17:25:26 -0400 Subject: [PATCH 3/3] Add readme with a short guide for plugins --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index e69de29..7a9b8d2 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,32 @@ +# Grafana + +> The open and composable observability and data visualization platform. + + + +* **Category**: Apps +* **Status**: wip +* **Image**: [`grafana`](https://hub.docker.com/r/grafana/grafana), 4, upstream +* **Healthcheck**: +* **Backups**: +* **Email**: +* **Tests**: +* **SSO**: + + + +## Quick start + +* `abra app new grafana` +* `abra app config ` +* `abra app deploy ` + +## Plugins + +To install and enable a grafana plugin start by finding the repository name, for example the [ClickHouse datasource](https://grafana.com/grafana/plugins/grafana-clickhouse-datasource/?tab=installation) is "grafana-clickhouse-datasource". + +Open the config options for your instance with `abra app config `, Take the plugin repository name and paste it in the variable `GRAFANA_PLUGINS`. + +If you would like to add multiple plugins just make sure they are comma separated eg. `GRAFANA_PLUGINS=grafana-clickhouse-datasource, alexanderzobnin-zabbix-app`. + +For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech). \ No newline at end of file -- 2.49.0