Files
canopy-workloads/README.md
kiskaadee d7832a3bc0 fix(workloads): address code-review rework items across keepers and docs
- Fail fast in armonia/Dockerfile.dashboard when DASHBOARD_REPO_URL is empty

- Add armonia/.env-example documenting required build, image, and runtime env vars

- Standardize restart: unless-stopped in gitea and snappymail compose files

- Align jellyfin/docker-compose.yml with proxy-net, myresolver, SERVICE_NAME, and HTTPS_REDIRECT_MIDDLEWARE defaults

- Update root README.md to reflect deployments.yaml and the 5 keeper workloads
2026-11-18 20:23:33 -05:00

33 lines
1.7 KiB
Markdown

# 🌐 Canopy Workloads
This repository contains the decoupled, portable application stacks managed by the Canopy homelab platform behind a **Traefik Reverse Proxy** and the `nixos-core` `appctl` / `gitops_dispatcher` control plane.
---
## 🏗️ Architectural Concept
Each workload lives in its own top-level directory with a declarative `app.yaml` manifest (`schemaVersion: "1.0"`) and a `docker-compose.yml` baseline. Workloads attach to the shared external Docker network (`proxy-net`) and expose Traefik routing labels parameterized via runtime environment variables.
The root [`deployments.yaml`](deployments.yaml) serves as the authoritative workload admission registry, mapping each workload identity and its legacy webhook aliases to `~/Workloads/<app>`.
---
## 🔑 Environment Variable Injection
To prevent secret leakage and hardcoded host configuration, compose baselines do not embed personal domains, UIDs, or host-specific paths. Runtime values (`SERVICE_DOMAIN`, `PROXY_NETWORK`, `CERT_RESOLVER`, secrets, and app-specific overrides) are injected at execution time by the host control plane (`sops-nix` rendered environment + `appctl`) or a local `.env` file for standalone portability:
```bash
docker compose --env-file .env up -d
```
---
## 📁 Repository Structure
* **`deployments.yaml`**: Authoritative workload admission registry (`schemaVersion: "1.0"`).
* **`gitea/`**: Self-hosted Git service and code repository.
* **`gitea_runner/`**: Standalone Gitea Actions CI/CD runner (`act_runner`).
* **`snappymail/`**: Lightweight webmail client.
* **`jellyfin/`**: Media server and streaming hub.
* **`armonia/`**: Armonía del Ser API and operator dashboard.