More info can be found on the resin-blog
Key | Description |
---|---|
GMAIL_ACCOUNT | Your Gmail email |
GMAIL_AUTH_TOKEN | Your Gmail password or auth token |
RESIN_EMAIL | Your resin.io email |
RESIN_PASS | Your resin.io password |
RESIN_APP_NAME | Resin application you wish to monitor |
https://github.com/mounaBoo/balena-prometheus-server.git
- Add required environment variables in
Dockerfile
or at runtime. - Optional: If you'd like persistent grafana storage run:
docker run -d -v /var/lib/grafana --name grafana-storage busybox:latest
docker build -t prometheus .
docker run -t -i -p 80:80 -p 3000:3000 --name resinMonitor prometheus