Commit Graph

23 Commits

Author SHA1 Message Date
b0f3230631 docs(oracle-homelab): remove trailing newline in readme.md
Update the readme.md file for the Oracle Homelab directory to remove a trailing newline character. This is a minor formatting adjustment to maintain file consistency.
2025-12-20 18:44:21 -05:00
6518a52908 docs(oracle-homelab): add initial readme for oracle homelab
This commit introduces a readme.md file to the Oracle Homelab directory to provide an overview of the repository's purpose. The documentation clarifies that the directory contains Docker Compose configurations for services hosted on Oracle Cloud Infrastructure and provides a link to the primary git repository.
2025-12-20 18:35:55 -05:00
2884d28aaa refactor: Move docker-compose files into Local Homelab/ directory
Restructures the project by moving all application-specific docker-compose.yml
files into a new `Local Homelab/` parent directory.

This change improves overall project organization and provides a clear
logical grouping for local homelab-related service configurations.

Affected files:
- `homeassistant/docker-compose.yml`
- `monitoring/docker-compose.yml`
- `teslamate/docker-compose.yml`

All are now located under `Local Homelab/<service>/docker-compose.yml`.
2025-12-20 18:31:29 -05:00
Preston Hunter
a1671f676f Update Local Homelab readme with repository details and link 2025-12-20 18:20:55 -05:00
Preston Hunter
d862ce43b1 config(teslamate): Remove Docker secrets for sensitive values
Replaced Docker secrets with direct environment variable assignments for `ENCRYPTION_KEY`, `DATABASE_PASS`, and `POSTGRES_PASSWORD` in the `docker-compose.yml` file.

This change simplifies the deployment by removing the dependency on Docker secrets for these values, opting for hardcoded strings instead. The `secrets` section has been removed from all relevant services (teslamate, database, grafana, mosquitto).
2025-11-15 08:29:03 -05:00
Preston Hunter
31e5fce454 config(docker): Update Teslamate network definition
The Teslamate internal network definition in `docker-compose.yml` has been updated.
The network was renamed from `teslamate-internal` to `teslamate`.
It was also changed from an internally defined `overlay` network to an `external: true` network.
This change allows Teslamate to connect to a pre-existing or centrally managed Docker network, improving integration with other services or a Docker Swarm environment.
2025-11-15 08:27:17 -05:00
Preston Hunter
f19499303c refactor(teslamate): Streamline Docker Compose configuration
Enabled port mappings for Teslamate, Grafana, and Mosquitto services to make them accessible from the host.

Renamed the internal Docker network from `teslamate-internal` to `teslamate` for consistency. Removed the `pangolin-home` external network from service definitions and its declaration, as it is no longer required.

Simplified volume definitions by removing explicit `driver: local` and `driver_opts`. This transitions volumes from specific host bind mounts to Docker-managed named volumes, improving portability and simplifying management.
2025-11-15 08:25:49 -05:00
Preston Hunter
883d978aff chore: Explicitly define local driver for Teslamate volumes
Added `driver: local` to the `teslamate-grafana-data`, `mosquitto-conf`,
and `mosquitto-data` volume definitions in `docker-compose.yml`.
This change explicitly specifies the local volume driver for these
bind-mounted volumes, improving clarity and ensuring consistent behavior
within the Docker environment.
2025-11-13 21:55:09 -05:00
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
aaedde6327 Removed out of date containers 2025-11-13 21:23:41 -05:00
Preston Hunter
73aa02e682 feat: Add initial Docker Compose setup for monitoring stack
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.
2025-11-13 21:19:27 -05:00
Preston Hunter
6ed6384750 chore(docker-compose): Update Teslamate network name for Home Assistant
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.
2025-11-11 21:53:22 -05:00
Preston Hunter
b0348d9d08 feat(compose): Add comprehensive compose.env for Docker Compose
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.
2025-11-11 21:51:09 -05:00
Preston Hunter
b4469c175e feat(homeassistant): Add initial Docker Compose setup for Home Assistant
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.
2025-11-11 21:13:14 -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