update home AI cluster: docker migration, netboot.xyz, MCP, policy

- locations/home-cluster: CT101/CT103 removed, 11 Docker services on
  .30 (added Authentik :9004, Prometheus :9090, Grafana :3100,
  netboot.xyz :3002/:69/:8083), Proxmox LXC down to CT100+CT102,
  added Docker-only policy note, updated setup status table
- projects/home-ai-cluster/status: full port map, Keenetic SSH
  commands ready to paste, next actions in order
- skills/home-cluster-docker-policy: new skill — Docker → .30 only,
  Proxmox LXC → native binaries only; includes pct create template
  and IP reservation table
This commit is contained in:
post 2026-06-06 06:37:01 +03:00
parent a46675860c
commit 8a926937c8
4 changed files with 151 additions and 49 deletions

View file

@ -59,14 +59,19 @@ No cloud dependency. All services accessible at `poxel.netcraze.link` via Keenet
| SSH | port 22, user `root` |
| Storage | `ssd` ZFS 1.8 TB (containers), `local` 67 GB, `local-lvm` 141 GB |
### LXC Containers (Debian 12, unprivileged, nesting=1)
### Policy: Proxmox LXC only for non-Docker services
Docker-based services run on the Docker Engine machine (`192.168.170.30`), not in LXC.
LXC containers are for native binaries and runtimes only.
### LXC Containers (Debian 12, unprivileged, nesting=1, storage: `ssd`)
| VMID | Hostname | IP | RAM | Disk | Service | Port |
|------|----------|----|-----|------|---------|------|
| 100 | forgejo | 192.168.170.41 | 2 GB | 20 GB | Forgejo v10.0.3 | 3000 |
| 101 | authentik | 192.168.170.42 | 2 GB | 20 GB | Authentik SSO | 9000, 9443 |
| 102 | mcp | 192.168.170.43 | 1 GB | 10 GB | MCP servers hub | stdio |
| 103 | monitoring | 192.168.170.44 | 1 GB | 20 GB | Prometheus + Grafana | 9090, 3100 |
| 100 | forgejo | 192.168.170.41 | 2 GB | 20 GB | Forgejo v10.0.3 (native binary) | 3000 |
| 102 | mcp | 192.168.170.43 | 1 GB | 10 GB | MCP servers hub (Node.js + Python) | stdio |
Removed: CT101 (authentik) and CT103 (monitoring) — migrated to Docker machine 2026-06-06.
### Access via pct exec (from Proxmox host)
@ -90,20 +95,26 @@ pct exec 102 -- bash -c 'task-master-ai --version'
| SSH | port 22, user `root` |
| Stacks | `/opt/stacks/{npm,portainer,webui,n8n,flowise,homarr,minio}` |
### Running Docker services
### Running Docker services (all Docker services live here)
| Service | Port | Subdomain (planned) |
|---------|------|---------------------|
| Nginx Proxy Manager | 80/443/81 | — |
| Portainer | 9000/9443 | portainer.poxel.netcraze.link |
| Open WebUI | 8080 | ai.poxel.netcraze.link |
| n8n | 5678 | n8n.poxel.netcraze.link |
| Flowise | 3000 | flowise.poxel.netcraze.link |
| Homarr | 7575 | home.poxel.netcraze.link |
| MinIO | 9001 | — |
| Service | Port | Subdomain (planned) | Stack path |
|---------|------|---------------------|------------|
| Nginx Proxy Manager | 80/443/81 | — | `/opt/stacks/npm` |
| Portainer | 9000/9443 | portainer.poxel.netcraze.link | `/opt/stacks/portainer` |
| Open WebUI | 8080 | ai.poxel.netcraze.link | `/opt/stacks/webui` |
| n8n | 5678 | n8n.poxel.netcraze.link | `/opt/stacks/n8n` |
| Flowise | 3000 | flowise.poxel.netcraze.link | `/opt/stacks/flowise` |
| Homarr | 7575 | home.poxel.netcraze.link | `/opt/stacks/homarr` |
| MinIO | 9001/9002 | — | `/opt/stacks/minio` |
| netboot.xyz | 3002 (web) / 69 UDP (TFTP) / 8083 (HTTP) | — | `/opt/stacks/netboot` |
| Authentik SSO | 9004 / 9454 (https) | auth.poxel.netcraze.link | `/opt/stacks/authentik` |
| Prometheus | 9090 | monitor.poxel.netcraze.link | `/opt/stacks/monitoring` |
| Grafana | 3100 | grafana.poxel.netcraze.link | `/opt/stacks/monitoring` |
- Open WebUI is configured to use Ollama at `192.168.170.10:11434` (Machine 1, not yet set up)
- Open WebUI → Ollama at `192.168.170.10:11434` (Machine 1, not yet set up)
- n8n `WEBHOOK_URL=https://n8n.poxel.netcraze.link`
- Authentik admin: `admin` / `<REDACTED_AUTHENTIK_PW>`
- Grafana admin: `admin` / `<REDACTED_GRAFANA_PW>`
---
@ -162,11 +173,16 @@ NFS service is RUNNING. Known beta bug: `service.start nfs` via API times out
## Setup Status (as of 2026-06-06)
| Machine | Status |
|---------|--------|
| Machine 4 TrueNAS | ✅ Configured |
| Machine 3 Docker | ✅ Configured |
| Machine 2 Proxmox + LXC | ✅ Configured |
| Keenetic port forwarding 80/443 | ⏳ Pending |
| NPM subdomains + SSL | ⏳ Pending |
| Machine 1 AI PC | ⏳ Not started |
| Component | Status | Date |
|-----------|--------|------|
| Machine 4 TrueNAS | ✅ Configured | 2026-06-04 |
| Machine 3 Docker (11 services) | ✅ Configured | 2026-06-04/06 |
| Machine 2 Proxmox + LXC (CT100, CT102) | ✅ Configured | 2026-06-06 |
| MCP Hub CT102 (9 servers) | ✅ Configured | 2026-06-06 |
| MCP servers in ~/.claude.json on Mac | ✅ Configured | 2026-06-06 |
| netboot.xyz PXE server | ✅ Running | 2026-06-06 |
| Keenetic DHCP options 66/67 for PXE | ⏳ Pending SSH access | — |
| Keenetic port forward 80/443 → .30 | ⏳ Pending SSH access | — |
| NPM subdomains + SSL | ⏳ Needs port forward first | — |
| Homarr dashboard populated | ⏳ Pending | — |
| Machine 1 AI PC | ⏳ Not started | — |

View file

@ -8,49 +8,69 @@ Full local AI platform — no cloud dependency. AI agents, media production (Com
Russian TTS/STT, workflow automation (n8n, Flowise), robotics simulation (Omniverse/Isaac Lab).
Accessible externally at `poxel.netcraze.link`.
## Architecture Rule
**Docker services → `192.168.170.30` only.** Proxmox LXC containers are for native binaries only.
All new Docker stacks go under `/opt/stacks/<name>/` on the Docker machine.
## Current State
### Done
| Component | Details |
|-----------|---------|
| TrueNAS `192.168.170.22` | Pool `datapool` 5.44TB, L2ARC 953GB, 4 NFS shares |
| Docker Engine `192.168.170.30` | NPM, Portainer, Open WebUI, n8n, Flowise, Homarr, MinIO |
| Proxmox `192.168.170.40` | PVE 9.2.3, node `prmx` |
| CT100 Forgejo `192.168.170.41:3000` | Git server v10.0.3 |
| CT101 Authentik `192.168.170.42:9000` | SSO, login: admin |
| CT102 MCP Hub `192.168.170.43` | 9 MCP servers (see `locations/mcp-hub-192-168-170-43.md`) |
| CT103 Monitoring `192.168.170.44` | Prometheus :9090 + Grafana :3100 |
| MCP config on Mac | `~/.claude.json` — 8 servers via npx/uvx |
| Component | Details | Date |
|-----------|---------|------|
| TrueNAS `192.168.170.22` | Pool `datapool` 5.44TB, L2ARC 953GB, 4 NFS shares | 2026-06-04 |
| Docker Engine `192.168.170.30` | 11 services: NPM, Portainer, Open WebUI, n8n, Flowise, Homarr, MinIO, netboot.xyz, Authentik, Prometheus, Grafana | 2026-06-04/06 |
| Proxmox `192.168.170.40` | PVE 9.2.3, node `prmx`, ssd ZFS 1.8TB | 2026-06-06 |
| CT100 Forgejo `192.168.170.41:3000` | Git server v10.0.3 (native binary) | 2026-06-06 |
| CT102 MCP Hub `192.168.170.43` | 9 MCP servers (memory, filesystem, sequential-thinking, everything, fetch, git, time, puppeteer, taskmaster) | 2026-06-06 |
| MCP in ~/.claude.json on Mac | 8 servers via npx/uvx, active globally | 2026-06-06 |
| netboot.xyz PXE | Tails + 100 OSes bootable over network, TFTP on .30:69 | 2026-06-06 |
| agent-knowledge-base updated | locations/, projects/, mcp-servers/ synced | 2026-06-06 |
### In Progress / Pending
| Task | Blocker |
|------|---------|
| Keenetic port forward 80/443 → `192.168.170.30` | SSH blocked by anti-bruteforce; retry manually |
| NPM subdomains + SSL (Let's Encrypt) | Needs port forwarding first |
| Homarr dashboard configuration | Needs subdomains |
| Authentik forward auth on NPM | Needs NPM subdomains |
| Machine 1 AI PC `192.168.170.10` | Not started |
| Task | Notes |
|------|-------|
| Keenetic SSH port forward 80/443 → `192.168.170.30` | SSH blocked by anti-bruteforce; SSH to 192.168.170.1:22, `ip nat dnat proto tcp from-port 80 to 192.168.170.30 port 80` then same for 443, then `system configuration save` |
| Keenetic DHCP opt 66/67 for PXE | TFTP server = 192.168.170.30, boot file = netboot.xyz.kpxe (BIOS) or netboot.xyz.efi (UEFI) |
| NPM subdomains + Let's Encrypt SSL | Needs port forwarding first, then add all subdomains in NPM at :81 |
| Homarr dashboard | Add all service tiles at 192.168.170.30:7575 |
| Machine 1 AI PC `192.168.170.10` | Install Ollama, ComfyUI, AllTalk TTS, faster-whisper, LiteLLM, mount NFS |
## Next Actions
## Next Actions (in order)
1. Router: SSH to `192.168.170.1`, run:
1. Wait for Keenetic SSH anti-bruteforce to expire, then:
```
ip nat dnat proto tcp from-port 80 to 192.168.170.30 port 80
ip nat dnat proto tcp from-port 443 to 192.168.170.30 port 443
ip dhcp pool Home option 66 ascii 192.168.170.30
ip dhcp pool Home option 67 ascii netboot.xyz.kpxe
system configuration save
```
2. NPM (`192.168.170.30:81`): add all subdomains, request Let's Encrypt SSL
2. NPM (`192.168.170.30:81`): add all subdomains, request Let's Encrypt SSL per subdomain
3. Homarr (`192.168.170.30:7575`): add all service tiles
4. Machine 1: install Ollama, ComfyUI, AllTalk TTS, faster-whisper, LiteLLM
4. Machine 1: install Ollama + mount NFS ai-models share
## Open Questions
## Key Ports Reference (Docker machine 192.168.170.30)
- Machine 1 OS: bare metal Ubuntu or existing OS?
- Machine 2 Proxmox: DHCP reservations for all machines configured in Keenetic?
| Port | Service |
|------|---------|
| 80/443/81 | NPM |
| 3000 | Flowise |
| 3002 | netboot.xyz web UI |
| 3100 | Grafana |
| 5678 | n8n |
| 7575 | Homarr |
| 8080 | Open WebUI |
| 8083 | netboot.xyz HTTP assets |
| 9000/9443 | Portainer |
| 9001/9002 | MinIO |
| 9004/9454 | Authentik |
| 9090 | Prometheus |
| 69/udp | netboot.xyz TFTP |
## Architecture
See `locations/home-cluster-192-168-170.md` for full IP map and service list.
See `locations/home-cluster-192-168-170.md` for full IP map.
See `locations/mcp-hub-192-168-170-43.md` for MCP servers.

View file

@ -0,0 +1,65 @@
# Skill: Home Cluster Docker Deployment Policy
## Purpose
Rule for deploying services in the home AI cluster at `192.168.170.0/24`.
Ensures consistent placement and avoids wasted LXC containers.
## Rule
**All Docker-based services → `192.168.170.30` (Docker Engine machine).**
**Proxmox LXC containers (`192.168.170.40`) → native binaries and runtimes only.**
## Procedure
### Adding a new Docker service
1. SSH to `root@192.168.170.30`
2. Create stack directory: `mkdir -p /opt/stacks/<name>`
3. Write `docker-compose.yml` (and `.env` if needed) there
4. `cd /opt/stacks/<name> && docker compose up -d`
5. Check used ports: `docker ps --format '{{.Names}}: {{.Ports}}'`
6. Update `locations/home-cluster-192-168-170.md` with new service and port
### Adding a new native service (Proxmox LXC)
Only use Proxmox LXC when the service does NOT use Docker internally:
- Git servers (Forgejo native binary)
- Language runtimes (Node.js MCP servers, Python servers)
- Compiled binaries
Create with storage on `ssd`:
```bash
pct create <VMID> local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst \
--hostname <name> --storage ssd --rootfs ssd:<GB> \
--memory <MB> --cores <N> \
--net0 name=eth0,bridge=vmbr0,ip=192.168.170.<X>/24,gw=192.168.170.1 \
--nameserver 192.168.170.1 --unprivileged 1 --features nesting=1
```
### Checking what's Docker vs native
```bash
# On Docker machine — all running Docker services
ssh root@192.168.170.30 "docker ps --format '{{.Names}}: {{.Ports}}'"
# On Proxmox — all LXC containers
ssh root@192.168.170.40 "pct list"
```
## IP Assignments (reserved)
| IP | Role |
|----|------|
| 192.168.170.1 | Keenetic router |
| 192.168.170.10 | Machine 1 AI PC |
| 192.168.170.22 | Machine 4 TrueNAS |
| 192.168.170.30 | Machine 3 Docker Engine |
| 192.168.170.40 | Machine 2 Proxmox |
| 192.168.170.41 | CT100 Forgejo |
| 192.168.170.43 | CT102 MCP Hub |
## Why
Avoids Docker-in-LXC overhead, keeps all container management in one place (Portainer at :9000),
and simplifies port management and NPM reverse proxy configuration.

View file

@ -17,3 +17,4 @@
- `multi-machine-agent-orchestration.md` - how to coordinate agents across multiple computers without default realtime runners; legacy command-bus diagnostics are on demand only.
- `ssh-public-key-access.md` - how to exchange and install SSH public keys without storing private keys or passwords.
- `unreal-chaos-vehicle-blender-pipeline.md` - how to prepare Blender vehicle models for Unreal Chaos Vehicles without Unreal-side model hacks.
- `home-cluster-docker-policy.md` - rule for the home AI cluster: all Docker services on 192.168.170.30, Proxmox LXC only for native binaries.