Commit Graph

10 Commits

Author SHA1 Message Date
Preston Hunter
f9ae6687e3 build(docker-compose): Explicitly set local driver for teslamate-db volume
Adds `driver: local` to the `teslamate-db` volume definition in `docker-compose.yml`.

This change explicitly declares the volume driver, improving clarity and ensuring consistent behavior for the bind mount. While `local` is often the default when `driver_opts` are used for bind mounts, explicit declaration removes ambiguity and makes the configuration more robust.
2025-11-13 21:54:55 -05:00
Preston Hunter
6b99db92eb feat(teslamate): Migrate to named volumes for persistence
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`.
2025-11-13 21:48:46 -05:00
Preston Hunter
120dff786f chore(teslamate): Switch Teslamate image source to Docker Hub
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.
2025-11-11 20:37:24 -05:00
Preston Hunter
bb630b5c2c chore(teslamate): Update Teslamate Docker image source to GHCR
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.
2025-11-11 20:31:28 -05:00
Preston Hunter
e71e15af04 build(teslamate): Connect teslamate service to pangolin-home network
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.
2025-11-11 20:25:50 -05:00
Preston Hunter
91f410278d Added network configurations to docker-compose.yml 2025-11-11 20:05:35 -05:00
Preston Hunter
f94c1319f8 Corrected all environment variable syntax in docker-compose.yml to KEY=VALUE format 2025-11-11 19:55:12 -05:00
Preston Hunter
e38f44a479 Corrected docker-compose.yml environment variable syntax for secrets 2025-11-11 19:54:01 -05:00
Preston Hunter
55b40750d1 refactor: Update environment variable syntax in docker-compose.yml
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.
2025-11-11 19:50:36 -05:00
Preston Hunter
c19050c3b7 Add Homelab Teslamate 2025-11-11 19:32:53 -05:00