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`.
This commit introduces a new `docker-compose.yml` file to set up a basic monitoring infrastructure.
It includes services for:
- Prometheus: For metrics collection and storage.
- Alertmanager: For handling and routing alerts.
- Grafana: For data visualization and dashboarding.
This setup provides a foundational stack for observing system health and performance.
The external network name for Teslamate was updated from `teslamate-internal`
to `teslamate_teslamate-internal` in the Home Assistant docker-compose.yml.
This change ensures Home Assistant correctly connects to the Teslamate
internal network, aligning with Docker Compose's default naming convention
for networks created by other Compose projects.
Introduces `komodo/compose.env` to provide a centralized and comprehensive set of environment variables for configuring Komodo Core and Periphery services. This file simplifies Docker Compose deployments by offering pre-defined variables for database, security, monitoring, authentication (local, OIDC, OAuth), and AWS integrations, complete with inline documentation and links to full variable lists.
This commit introduces the `docker-compose.yml` file for deploying Home Assistant.
The configuration defines the `homeassistant` service using the `linuxserver/homeassistant` image. It sets up:
- Persistent data storage at `/mnt/docker/home/homeassistant/data`.
- Environment variables for user IDs (PUID, PGID) and timezone.
- Required capabilities (`NET_ADMIN`, `NET_RAW`) for network functionality.
- Integration with existing `pangolin-home` and `teslamate-internal` external networks.
This allows for easy deployment and management of the Home Assistant instance.
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.