Temporary fork of https://gitlab.com/Saibe1111/grafana-to-ntfy until our changes are merged (if they would be)
https://gitlab.com/Saibe1111/grafana-to-ntfy/-/merge_requests/15
a17bc1f971
Add docs Closes #2 See merge request Saibe1111/grafana-to-ntfy!2 |
||
---|---|---|
docs/static/img | ||
src | ||
.gitignore | ||
.gitlab-ci.yml | ||
.prettierrc | ||
Dockerfile | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Grafana to Ntfy
Installation
Docker compose
version: '3.8'
services:
grafana:
container_name: grafana
image: grafana/grafana
restart: always
ports:
- '3003:3000'
grafana-to-ntfy:
container_name: grafana-to-ntfy
image: saibe1111/grafana-to-ntfy
restart: unless-stopped
environment:
NTFY_TOPIC: grafana-custom-alert-topic
Variables
Variable | Usage | Default value | Required |
---|---|---|---|
NTFY_TOPIC | Topic name | grafana | ❌ |
NTFY_SERVER | URL of the ntfy server | https://ntfy.sh | ❌ |
Grafana configuration
You just need to add a webhook contact point as below: