From 26a267dfc6c597c9073e495a52880d0307c2dafd Mon Sep 17 00:00:00 2001 From: Mark Lewis Date: Thu, 24 Sep 2026 20:04:27 -0500 Subject: [PATCH] Update documentation: add Freighter inventory and enhance service inventory details --- README.md | 1 + infrastructure/freighter.md | 104 ++++++++++++++++++++++++++++++++++++ services/inventory.md | 21 +++++--- 3 files changed, 118 insertions(+), 8 deletions(-) create mode 100644 infrastructure/freighter.md diff --git a/README.md b/README.md index 632c44e..8f3021d 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Working documentation, started 2026-09-24. **Verify all details against the runn - [Network topology](network/topology.md): physical paths, routing, DNS, ingress, and known constraints. - [Proxmox inventory](infrastructure/proxmox.md): guests, runtime state, and storage reported by `pve`. +- [Freighter inventory](infrastructure/freighter.md): Docker projects, storage mounts, ingress, persistence, and host services. - [Service inventory](services/inventory.md): what runs where and what each service depends on. - [Docker deployment](deployments/docker.md) - [LXC deployment](deployments/lxc.md) diff --git a/infrastructure/freighter.md b/infrastructure/freighter.md new file mode 100644 index 0000000..d360260 --- /dev/null +++ b/infrastructure/freighter.md @@ -0,0 +1,104 @@ +# Freighter inventory + +Last verified: 2026-09-24 from the running host using host, mount, socket, systemd, and Docker metadata. No container environment variables or secret files were inspected. + +## Host + +| Item | Verified value | +| --- | --- | +| Placement | Proxmox LXC 109 | +| Hostname and address | `freighter`, `192.168.1.238/24` via DHCP on `vmbr0` | +| Operating system | Debian 13 (trixie) | +| Kernel | `7.0.14-12-pve` | +| Allocation | 8 CPU cores, 16 GiB RAM, 4 GiB swap, 200 GiB root disk | +| Root usage | 64 GiB of 196 GiB used (35%) | +| Docker | Engine and client 29.8.1; overlayfs; data root `/var/lib/docker` | +| Docker state | 31 running containers, 57 images | +| Startup | LXC startup order 2; all containers use restart policies | + +## Storage dependencies + +| Host mount | Source | Use | +| --- | --- | --- | +| `/opt/stacks` | `pve.home:/mnt/pve/pool/stacks` | Compose files, application configuration, and most persistent Docker data | +| `/Movies` | `pve.home:/mnt/pve/pool/Media/Movies` | Radarr and Plex media | +| `/TV2` | `pve.home:/mnt/pve/pool/Media/TV` | Sonarr and Plex media | +| `/Audiobooks` | `pve.home:/mnt/pve/pool/Media/Audiobooks` | Audiobookshelf library | +| `/mnt/auto-manuals` | `pve.home:/mnt/pve/pool/auto-manuals` | Auto-manuals content | +| `/TV` | `storage.home:/data/Media/TV` | Sonarr and Plex media from a separate storage host | + +The `pve.home` mounts resolve to `192.168.1.10`; `storage.home` resolves to `192.168.1.146`. Loss of `pve` or its `pool` filesystem removes most stack definitions and persistent application data from `freighter`. The Proxmox backup job does not currently include CT 109. + +## Docker projects + +| Compose project | Containers / purpose | Configuration location reported | +| --- | --- | --- | +| `alpr` | `fast-alpr`, plate recognition | Dockhand-managed Freighter stacks | +| `arr` | Sonarr, Radarr, SABnzbd | Dockhand-managed Freighter stacks | +| `audiobookshelf-stack` | Audiobookshelf | Dockhand-managed Freighter stacks | +| `dockhand` | Docker stack management | `/opt/stacks/dockhand/docker-compose.yaml` | +| `go2rc` | go2rtc camera relay | Dockhand-managed; project name appears misspelled | +| `home-mcp` | Home MCP service | Dockhand-managed | +| `homepage` | Homepage dashboard | Dockhand-managed Freighter stacks | +| `it-toolbox` | IT Tools | Dockhand-managed Freighter stacks | +| `llama1` | Ollama | Dockhand-managed | +| `manuals-stack` | Caddy serving auto manuals | Dockhand-managed Freighter stacks | +| `ntfy` | ntfy, SMTP bridge, webhook | Dockhand-managed Freighter stacks | +| `observeability` | Grafana, Loki, Alloy, Prometheus, Uptime Kuma, SNMP exporter, Radarr exporter, SABnzbd exporter | Dockhand-managed; project name appears misspelled | +| `observeability-mcp` | Observability MCP service | Dockhand-managed Freighter stacks | +| `observium` | Observium | Dockhand-managed Freighter stacks | +| `plex` | Plex Media Server | Dockhand-managed Freighter stacks | +| `seerr` | Seerr media requests | Dockhand-managed Freighter stacks | +| `traefik-proxmox-notes-generator` | Generates Traefik labels/routes from Proxmox notes | Dockhand-managed Freighter stacks | +| `traefikv2` | Traefik 3.7.13 | `/opt/stacks/traefikv2/compose.yaml` | +| `vaultwarden` | Vaultwarden | Dockhand-managed Freighter stacks | +| `weather-web` | Weather web application | Dockhand-managed Freighter stacks | + +Dockhand reports most Compose paths inside the container as `/app/data/stacks/Freighter/`; its `/app/data` directory is the host bind mount `/opt/stacks/dockhand`. Deployed Compose files exist under `/opt/stacks/dockhand/stacks/Freighter`, with corresponding local Git working copies under `/opt/stacks/dockhand/git-repos/Freighter`. Remote repository ownership and synchronization direction remain to verify. + +Compose definitions also exist for `home-siem`, `syslog-stack`, `traefik`, and other repositories that were not present in the running Compose project list. Treat them as inactive or superseded only after checking Dockhand history and repository intent. + +## Networks and ingress + +The shared `homenet` bridge uses `10.10.10.0/24`; the shared `traefik` bridge uses `172.31.0.0/16`. Traefik joins both. Most web applications join `homenet`; infrastructure services that Traefik must reach also join `traefik`. + +Host-published TCP ports include: + +| Port | Service | +| ---: | --- | +| 22 | SSH | +| 25 on `192.168.1.238` | ntfy SMTP bridge | +| 80, 443, 8883 | Traefik | +| 1984 | go2rtc API/UI | +| 3000 | Dockhand | +| 3005 | Observability MCP | +| 8324, 32400, 32469 plus Plex UDP ports | Plex | +| 9099 | Home MCP | +| 9100 | Prometheus node exporter system service | +| 9116 | SNMP exporter | +| 11434 | Ollama | + +Traefik configuration, plugin storage, and logs are bind-mounted beneath `/opt/stacks/traefikv2`. Traefik has read/write access to `/var/run/docker.sock`. A separate hardened systemd service, `traefik-dns-sync.service`, reads its secrets from `/etc/traefik-dns-sync.env` and synchronizes Traefik routes to Cloudflare DNS. + +## Persistence + +Persistent bind mounts beneath `/opt/stacks` include data for Traefik, Vaultwarden, Grafana, Loki, Alloy, Prometheus, Uptime Kuma, ntfy, Plex, Observium, Seerr, Audiobookshelf, the Arr stack, Homepage, go2rtc, Ollama, and Home MCP. ALPR uses a named Docker volume for its model cache. Several anonymous or application-specific Docker volumes also exist and require ownership mapping before a recovery plan is complete. + +Dockhand and Homepage also mount `/var/run/docker.sock`. Anyone who can control these containers may effectively control the Docker host. Treat their application access and update process as privileged. + +## Running-state observations + +- All 31 containers were running when inspected. +- Plex reported `unhealthy`; investigate its health check before treating the service as available. +- Every container uses `unless-stopped` except Homepage, which uses `always`. +- Host services include Docker, containerd, Alloy, PatchMon Agent, Prometheus node exporter, rsyslog, SSH, and the Traefik-to-Cloudflare DNS synchronizer. +- A credential-bearing Homepage API token was visible in a Docker label during discovery. It is intentionally omitted here and should be rotated. + +## Next verification + +- Verify the Git remotes and determine whether Dockhand, the local working copies, or another Git server is authoritative. +- Map each Traefik router to its intended internal-only or public exposure. +- Inventory backup coverage for every bind mount and named volume under `/opt/stacks` and `/var/lib/docker/volumes`. +- Diagnose Plex's unhealthy state without changing it. +- Record application owners, authentication, update, rollback, and restore procedures. +- Rotate the exposed Homepage integration token. diff --git a/services/inventory.md b/services/inventory.md index 0ba1e64..942ba3c 100644 --- a/services/inventory.md +++ b/services/inventory.md @@ -13,18 +13,23 @@ Last documented: 2026-09-24. This is a **seed inventory from prior discussions** | LibreNMS | Network monitoring | LXC 116 `librenms` on `pve` | Internal Traefik route to HTTP 80 | Placement and route confirmed 2026-09-24 | | Guacamole | Remote access gateway | LXC 120 `guacamole` on `pve` | Public Traefik route to HTTP 8080 with basic-auth middleware | Placement and route confirmed 2026-09-24 | | MQTT | Message broker | LXC 130 `mqtt` on `pve` | DHCP on `vmbr0`; application configuration to verify | Placement confirmed 2026-09-24 | -| Traefik | HTTP ingress and TLS | Docker on `freighter` | Docker networks, DNS challenge, dynamic guest discovery | Reported | -| Proxmox notes discovery service | Publishes guest routes and DNS records from notes | systemd on `freighter` | Proxmox API, Traefik config, DNS API | Reported; identify repo/service name | +| Traefik | HTTP ingress and TLS | Compose project `traefikv2` on `freighter` | Traefik 3.7.13; host ports 80, 443, and 8883; joins `homenet` and `traefik` | Confirmed 2026-09-24 | +| Proxmox notes discovery service | Publishes guest routes from Proxmox notes | Container `traefik-label-generator` on `freighter` | Healthy; joins `traefik`; separate systemd service syncs routes to Cloudflare DNS | Confirmed 2026-09-24 | | Jellyfin | Media and Live TV | LXC 117 `newjelly` on `pve` | Internal and public Traefik routes to HTTP 8096; NFS and USB/serial access | Placement and routes confirmed 2026-09-24 | -| Audiobookshelf | Audiobooks | To verify | NFS audiobook storage, ingress | Reported | -| Seerr / JellyBridge | Media requests and integration | To verify | Jellyfin and ingress | Reported | +| Audiobookshelf | Audiobooks | Compose project `audiobookshelf-stack` on `freighter` | NFS library at `/Audiobooks`; config and metadata under `/opt/stacks` | Confirmed 2026-09-24 | +| Seerr | Media requests and discovery | Compose project `seerr` on `freighter` | Persistent config under `/opt/stacks/seerr`; internal Traefik route | Confirmed 2026-09-24 | | Gitea | Git hosting | LXC 102 `gitea` on `pve` | SSH and HTTP ingress; SSH link host may need correction | Placement confirmed 2026-09-24 | -| Grafana / Loki / Alloy | Dashboards and logs | To verify per component | Syslog and guest agents; prefer full ingestion | Reported | -| Uptime Kuma | Availability monitoring | To verify | DNS, ingress, notification endpoint | Reported | +| Grafana / Loki / Alloy | Dashboards and logs | Compose project `observeability` on `freighter`; Alloy also runs as a host service | Persistent data under `/opt/stacks/loki`; verify why Alloy runs in both forms | Confirmed 2026-09-24 | +| Uptime Kuma | Availability monitoring | Compose project `observeability` on `freighter` | Persistent data at `/opt/stacks/kuma`; healthy when inspected | Confirmed 2026-09-24 | | Ollama `llama1.home` | Local CPU inference | LXC 103 on `pve` | qwen3:8b reported; 10 pinned CPUs, 16 GiB RAM, and 40 GiB disk confirmed | Placement and running state confirmed 2026-09-24 | | ALPR | Plate recognition API and batch jobs | LXC 123 `alpr` on `pve` | Camera images, local CPU, storage | Placement confirmed 2026-09-24 | -| Home SIEM / MCP controller | DNS, DHCP, firewall investigations | To verify | OPNsense data, Ollama, log retention | Reported | -| go2rtc | Camera stream relay | `freighter` or other host: verify | Reolink RTSP, Jellyfin M3U; port 1984/8554 observed | Reported | +| Home SIEM / MCP controller | DNS, DHCP, firewall investigations | Container `home-mcp` on `freighter` | Host port 9099; configuration under `/opt/stacks/dockhand`; broader SIEM components to verify | Partial confirmation 2026-09-24 | +| go2rtc | Camera stream relay | Compose project `go2rc` on `freighter` | Host port 1984; config under Dockhand stacks; RTSP ports internal | Confirmed 2026-09-24 | +| Plex | Media server | Compose project `plex` on `freighter` | NFS media mounts; host networking ports; container reported unhealthy | Confirmed 2026-09-24 | +| Vaultwarden | Password manager | Compose project `vaultwarden` on `freighter` | Persistent data under `/opt/stacks/vaultwarden`; backup coverage to verify | Confirmed 2026-09-24 | +| ntfy | Notifications and SMTP bridge | Compose project `ntfy` on `freighter` | Host SMTP port 25; ntfy, webhook, and SMTP containers | Confirmed 2026-09-24 | +| Observium | Network monitoring | Compose project `observium` on `freighter` | Config, certificates, logs, and RRD data under `/opt/stacks/observium` | Confirmed 2026-09-24 | +| Homepage | Service dashboard | Compose project `homepage` on `freighter` | Docker socket access; exposed integration token must be rotated | Confirmed 2026-09-24 | | PatchMon | Patch and CIS tracking | LXC 114 `patchmon` on `pve` | Guest agents, Traefik route; port 3000 observed | Placement confirmed 2026-09-24 | | WireGuard ingress | VPS-to-home tunnel | Debian VPS and OPNsense | Routing and firewall rules | Reported | | `tor-vpn` | VPN workload | VM 113 `tor-vpn` on `pve` | 8 GiB RAM, 150 GiB boot disk; repaired after boot corruption; currently stopped | Guest configuration and state confirmed 2026-09-24 |