WIP: Update recipe to newest grafana release #1
@ -2,3 +2,6 @@ TYPE=grafana
|
|||||||
|
|
||||||
DOMAIN=grafana.example.com
|
DOMAIN=grafana.example.com
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
|
COMPOSE_FILE=compose.yml
|
||||||
|
|
||||||
|
# GRAFANA_PLUGINS=
|
||||||
|
32
README.md
32
README.md
@ -0,0 +1,32 @@
|
|||||||
|
# Grafana
|
||||||
|
|
||||||
|
> The open and composable observability and data visualization platform.
|
||||||
|
|
||||||
|
<!-- metadata -->
|
||||||
|
|
||||||
|
* **Category**: Apps
|
||||||
|
* **Status**: wip
|
||||||
|
* **Image**: [`grafana`](https://hub.docker.com/r/grafana/grafana), 4, upstream
|
||||||
|
* **Healthcheck**:
|
||||||
|
* **Backups**:
|
||||||
|
* **Email**:
|
||||||
|
* **Tests**:
|
||||||
|
* **SSO**:
|
||||||
|
|
||||||
|
<!-- endmetadata -->
|
||||||
|
|
||||||
|
## Quick start
|
||||||
|
|
||||||
|
* `abra app new grafana`
|
||||||
|
* `abra app config <app-domain>`
|
||||||
|
* `abra app deploy <app-domain>`
|
||||||
|
|
||||||
|
## 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 <app-domain>`, 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).
|
11
compose.yml
11
compose.yml
@ -3,11 +3,13 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: grafana/grafana:8.4.3
|
image: grafana/grafana-oss:12.0.2
|
||||||
|
environment:
|
||||||
|
GF_INSTALL_PLUGINS: "$GRAFANA_PLUGINS"
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
- app:/var/lib/grafana
|
- grafana:/var/lib/grafana
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
@ -19,12 +21,11 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}_web.rule=Host(`${DOMAIN}`)"
|
- "traefik.http.routers.${STACK_NAME}_web.rule=Host(`${DOMAIN}`)"
|
||||||
- "traefik.http.routers.${STACK_NAME}_web.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}_web.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}_web.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "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:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
app:
|
grafana:
|
||||||
|
Reference in New Issue
Block a user