Grafana on Heroku
...by using Docker
Refresh Dockerfile
Run ./dockerfile-assemble.sh
. It will update the local copy of the recommended Dockerfile for customization, then merge it with the necessary bits to make it work on Heroku.
Clean instance
Run ./reset.sh
. It will reset the database, then restart the web dyno.
Build & Deploy for Heroku
Pull new version of Grafana
docker pull grafana/grafana
Upgrading & Deploying on Heroku:
docker pull grafana/grafana
./dockerfile-update.sh
heroku auth:token | docker login --username=_ registry.heroku.com --password-stdin
- Necessary for Apple ARM:
docker buildx build --platform linux/amd64 -t grafana-heroku .
- Check
docker images
for :docker tag <TAGID> registry.heroku.com/yeast-grafana/web
docker push registry.heroku.com/yeast-grafana/web
heroku container:push web
heroku container:release web