Replaced direct host path volume mounts with named volumes for the Teslamate database, Grafana data, and Mosquitto configuration and data.
This change centralizes the definition of host bind mounts for persistent data by using Docker named volumes with `driver_opts` set to `type: none` and `o: bind`. This improves consistency and manageability of volume definitions within the `docker-compose.yml` file.
Additionally, the import volume path for the `teslamate` service was adjusted from `/mnt/docker/home/teslamate/data/import` to `/mnt/docker/home/teslamate/import`.
The `teslamate` service in `docker-compose.yml` has been updated to pull its image from `teslamate/teslamate:latest` on Docker Hub. This change simplifies the image reference and ensures consistency with the primary distribution channel.
The official Teslamate Docker images have migrated from Docker Hub to
GitHub Container Registry (GHCR). This update ensures that the
`docker-compose.yml` pulls the Teslamate image from the correct and
official source.
The teslamate service in `docker-compose.yml` has been configured to join the `pangolin-home` network. This change enables communication between Teslamate and other services within the `pangolin-home` network, facilitating better integration with existing home infrastructure.
Changed the syntax for defining environment variables in the Teslamate
docker-compose.yml from `KEY=VALUE` to `KEY: VALUE`.
This update aligns with idiomatic YAML syntax, improving consistency and
readability across the configuration file. It also helps prevent potential
parsing issues that could arise if environment variable values contained
equal signs or other special characters.