TeslaMate Custom

From KlavoWiki
Jump to navigationJump to search

This is built on top of the TeslaMate install instructions. I have modified the Drives data to include categories Personal, Work, and Other.

Build

Build the docker image.

 cd /opt/teslamate

First time pull.

git pull https://git.klaverstyn.com.au/david/teslamate.git

Rebuilding as repo already know.

git pull
docker build --network=host -t teslamate:local .

Only required if there has been changes to Grafana dashboards. If unsure no harm.

cd /opt/teslamate/grafana
docker build -t teslamate-grafana:local

Make sure docker-compose.yml is updated for local repo.

  teslamate:
    image: teslamate:local