Files
homelab_docs/infrastructure/freighter.md
T

105 lines
6.6 KiB
Markdown

# 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/<project>`; 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.