sync cluster state 2026-06-06: all machines online, router fixed
- All 4 machines reachable: TrueNAS .22, Docker .30, Proxmox .40 - Router: port forwarding 80/443→.30 active, DHCP static bindings, isolate-private DISABLED (was blocking WiFi→LAN) - Docker machine: 13 containers running (added Authentik, Monitoring, netboot.xyz vs original 7) - Proxmox: CT100 forgejo + CT102 mcp (CT101/CT103 removed) - MCP: 9 servers in CT102 + active in ~/.claude.json via npx/uvx - Next: NPM subdomains + Let's Encrypt SSL - skills: added router CLI gotchas (correct ip static syntax, Telnet vs SSH, isolate-private fix)
This commit is contained in:
parent
f6c695ab24
commit
558c0689b3
3 changed files with 278 additions and 180 deletions
|
|
@ -2,17 +2,40 @@
|
|||
|
||||
## Summary
|
||||
|
||||
Four-machine local AI platform for AI agents, media production (ComfyUI, 3D, TTS), workflow
|
||||
automation (n8n, Flowise), and robotics simulation (NVIDIA Omniverse/Isaac Lab).
|
||||
No cloud dependency. All services accessible at `poxel.netcraze.link` via Keenetic DDNS.
|
||||
Four-machine local AI platform. All machines **ONLINE** as of 2026-06-06.
|
||||
External domain: `poxel.netcraze.link` → `95.165.0.208` (Keenetic DDNS).
|
||||
Port forwarding 80/443 → 192.168.170.30 (NPM) is active.
|
||||
|
||||
## Network
|
||||
|
||||
- Subnet: `192.168.170.0/24`
|
||||
- Router: `192.168.170.1` (Keenetic Peak, KeeneticOS 5.01.B.4.0-1)
|
||||
- External domain: `poxel.netcraze.link` → `95.165.0.208` (Keenetic DDNS, auto-updates)
|
||||
- WAN interface: `GigabitEthernet0/Vlan2`
|
||||
- Router SSH: port 22, user `admin`
|
||||
- Router SSH port 22, Telnet port 23 (user: admin)
|
||||
- **IMPORTANT:** SSH gets blocked by anti-bruteforce after repeated attempts — use Telnet instead
|
||||
- `isolate-private` is DISABLED (was blocking WiFi→LAN traffic)
|
||||
|
||||
---
|
||||
|
||||
## Router CLI — Key Commands
|
||||
|
||||
```bash
|
||||
# Connect
|
||||
telnet 192.168.170.1
|
||||
# Login: admin, Password: <REDACTED>
|
||||
|
||||
# Port forwarding (DNAT)
|
||||
ip static tcp GigabitEthernet0/Vlan2 80 192.168.170.30
|
||||
ip static tcp GigabitEthernet0/Vlan2 443 192.168.170.30
|
||||
|
||||
# Static DHCP binding
|
||||
ip dhcp host <mac> <ip>
|
||||
|
||||
# Disable WiFi isolation
|
||||
no isolate-private
|
||||
|
||||
# Save config
|
||||
system configuration save
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -24,112 +47,90 @@ No cloud dependency. All services accessible at `poxel.netcraze.link` via Keenet
|
|||
| CPU | 2× Intel Xeon, 36C/72T total |
|
||||
| RAM | 256 GB |
|
||||
| GPU | NVIDIA A6000 48 GB VRAM (+ optional RTX 4090 24 GB) |
|
||||
| Role | LLM inference, image/3D generation, TTS, STT |
|
||||
|
||||
### Planned services (not yet installed as of 2026-06-06)
|
||||
### Planned services
|
||||
|
||||
| Service | Port | Purpose |
|
||||
|---------|------|---------|
|
||||
| Ollama | 11434 | LLM inference (llama3.3:70b, qwen2.5-coder, phi4) |
|
||||
| ComfyUI | 8188 | Image/3D generation (SDXL, FLUX.1) |
|
||||
| AllTalk TTS (XTTS v2) | 5002 | Russian TTS + voice cloning |
|
||||
| Ollama | 11434 | LLM inference |
|
||||
| ComfyUI | 8188 | Image/3D generation |
|
||||
| AllTalk TTS (XTTS v2) | 5002 | Russian TTS |
|
||||
| faster-whisper | 9000 | Russian STT |
|
||||
| TripoSR / InstantMesh | 7860 | Text/Image → 3D mesh (.obj/.glb) |
|
||||
| LiteLLM Proxy | 4000 | Unified OpenAI-compatible API over all models |
|
||||
| Sunshine | 47989 | Remote GUI access (Moonlight client) |
|
||||
|
||||
### VRAM strategy
|
||||
|
||||
- A6000 (48 GB): large LLMs + ComfyUI FLUX simultaneously
|
||||
- RTX 4090 (24 GB, optional): offload ComfyUI or medium LLMs
|
||||
- 256 GB RAM: llama.cpp partial offload for models exceeding VRAM
|
||||
- `OLLAMA_KEEP_ALIVE=5m` — auto-unload idle models
|
||||
| TripoSR / InstantMesh | 7860 | 3D generation |
|
||||
| LiteLLM Proxy | 4000 | Unified OpenAI-compatible API |
|
||||
| Sunshine | 47989 | Remote GUI access |
|
||||
|
||||
---
|
||||
|
||||
## Machine 2 — Proxmox `192.168.170.40`
|
||||
## Machine 2 — Proxmox `192.168.170.40` ✅
|
||||
|
||||
| Field | Value |
|
||||
|-------|-------|
|
||||
| IP | `192.168.170.40` |
|
||||
| OS | Proxmox VE 9.2.3 |
|
||||
| Node name | `prmx` |
|
||||
| OS | Proxmox VE 9.2.3, node `prmx` |
|
||||
| RAM | 15 GB |
|
||||
| Web UI | `https://192.168.170.40:8006` |
|
||||
| SSH | port 22, user `root` |
|
||||
| Storage | `ssd` ZFS 1.8 TB (containers), `local` 67 GB, `local-lvm` 141 GB |
|
||||
| Web UI | `https://192.168.170.40:8006` (root) |
|
||||
| SSH | `ssh root@192.168.170.40` (password auth) |
|
||||
| Storage | `ssd` ZFS 1.8TB (ALL containers here), `local` 67GB |
|
||||
| MAC | `6c:4b:90:21:43:cc` |
|
||||
|
||||
### Policy: Proxmox LXC only for non-Docker services
|
||||
### Policy: 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, storage: ssd)
|
||||
|
||||
### LXC Containers (Debian 12, unprivileged, nesting=1, storage: `ssd`)
|
||||
| VMID | Hostname | IP | Service | Status |
|
||||
|------|----------|----|---------|--------|
|
||||
| 100 | forgejo | 192.168.170.41 | Forgejo v10.0.3 :3000 | ✅ running |
|
||||
| 102 | mcp | 192.168.170.43 | MCP servers hub | ✅ running |
|
||||
|
||||
| VMID | Hostname | IP | RAM | Disk | Service | Port |
|
||||
|------|----------|----|-----|------|---------|------|
|
||||
| 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)
|
||||
CT101 and CT103 removed — services on Docker machine.
|
||||
|
||||
```bash
|
||||
pct exec <vmid> -- bash -c '<command>'
|
||||
# Example:
|
||||
pct exec 102 -- bash -c 'task-master-ai --version'
|
||||
# Access containers from Proxmox host
|
||||
pct exec 100 -- bash -c '<command>'
|
||||
pct exec 102 -- bash -c '<command>'
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Machine 3 — Docker Engine `192.168.170.30`
|
||||
## Machine 3 — Docker Engine `192.168.170.30` ✅
|
||||
|
||||
| Field | Value |
|
||||
|-------|-------|
|
||||
| IP | `192.168.170.30` |
|
||||
| OS | Debian 13 trixie |
|
||||
| CPU | 4 cores |
|
||||
| RAM | 15 GB |
|
||||
| Disk | 1.8 TB SSD |
|
||||
| SSH | port 22, user `root` |
|
||||
| Stacks | `/opt/stacks/{npm,portainer,webui,n8n,flowise,homarr,minio}` |
|
||||
| SSH | `ssh root@192.168.170.30` (password auth) |
|
||||
| MAC | `14:b3:1f:2b:ab:a1` |
|
||||
| Stacks | `/opt/stacks/<name>/docker-compose.yml` |
|
||||
|
||||
### Running Docker services (all Docker services live here)
|
||||
### Running Docker services (13 containers)
|
||||
|
||||
| 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` |
|
||||
| Service | Port | Subdomain (planned) |
|
||||
|---------|------|---------------------|
|
||||
| Nginx Proxy Manager | 80/443/81 | — (reverse proxy) |
|
||||
| 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/9002 | — |
|
||||
| netboot.xyz | 3002/69udp/8083 | — (PXE boot server) |
|
||||
| Authentik SSO | 9004/9454 | auth.poxel.netcraze.link |
|
||||
| Prometheus | 9090 | monitor.poxel.netcraze.link |
|
||||
| Grafana | 3100 | grafana.poxel.netcraze.link |
|
||||
|
||||
- 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>`
|
||||
- Open WebUI → Ollama at `192.168.170.10:11434` (Machine 1, not yet configured)
|
||||
|
||||
---
|
||||
|
||||
## Machine 4 — TrueNAS `192.168.170.22`
|
||||
## Machine 4 — TrueNAS `192.168.170.22` ✅
|
||||
|
||||
| Field | Value |
|
||||
|-------|-------|
|
||||
| IP | `192.168.170.22` |
|
||||
| OS | TrueNAS SCALE 26.0.0-BETA.1 |
|
||||
| Hostname | `nas` |
|
||||
| RAM | 16 GB |
|
||||
| System disk | 256 GB NVMe |
|
||||
| Cache | 1 TB NVMe → L2ARC 953 GB (ONLINE) |
|
||||
| Data | 4× 3 TB HDD |
|
||||
| SSH | `ssh -i ~/.ssh/id_ed25519 truenas_admin@192.168.170.22` (key auth, password: `<REDACTED_TRUENAS_PW>`) |
|
||||
| SSH | `ssh -i ~/.ssh/id_ed25519 truenas_admin@192.168.170.22` |
|
||||
| MAC | `6c:92:bf:3b:f7:1f` |
|
||||
|
||||
### ZFS Pool
|
||||
|
||||
|
|
@ -140,49 +141,48 @@ Pool: datapool (5.44 TB usable)
|
|||
Cache: L2ARC nvme0n1 953 GB
|
||||
```
|
||||
|
||||
### Datasets and NFS shares
|
||||
### NFS Shares (all on 192.168.170.0/24)
|
||||
|
||||
| Dataset | Mount | Compression | NFS export |
|
||||
|---------|-------|-------------|------------|
|
||||
| `datapool/ai-models` | `/mnt/datapool/ai-models` | lz4 | 192.168.170.0/24 |
|
||||
| `datapool/comfy-models` | `/mnt/datapool/comfy-models` | lz4 | 192.168.170.0/24 |
|
||||
| `datapool/renders` | `/mnt/datapool/renders` | lz4 | 192.168.170.0/24 |
|
||||
| `datapool/backup` | `/mnt/datapool/backup` | lz4 | 192.168.170.0/24 |
|
||||
|
||||
NFS service is RUNNING. Known beta bug: `service.start nfs` via API times out — workaround: systemd override with `exportfs -ra`.
|
||||
| Dataset | Mount |
|
||||
|---------|-------|
|
||||
| datapool/ai-models | `/mnt/datapool/ai-models` |
|
||||
| datapool/comfy-models | `/mnt/datapool/comfy-models` |
|
||||
| datapool/renders | `/mnt/datapool/renders` |
|
||||
| datapool/backup | `/mnt/datapool/backup` |
|
||||
|
||||
---
|
||||
|
||||
## Planned Subdomains (Nginx Proxy Manager + Let's Encrypt)
|
||||
## Planned Subdomains (NPM + Let's Encrypt — NEXT STEP)
|
||||
|
||||
| Subdomain | Backend |
|
||||
|-----------|---------|
|
||||
| git.poxel.netcraze.link | CT100 Forgejo :3000 |
|
||||
| ai.poxel.netcraze.link | Docker Open WebUI :8080 |
|
||||
| comfy.poxel.netcraze.link | Machine 1 ComfyUI :8188 |
|
||||
| auth.poxel.netcraze.link | Docker Authentik :9004 |
|
||||
| n8n.poxel.netcraze.link | Docker n8n :5678 |
|
||||
| flowise.poxel.netcraze.link | Docker Flowise :3000 |
|
||||
| home.poxel.netcraze.link | Docker Homarr :7575 |
|
||||
| monitor.poxel.netcraze.link | CT103 Grafana :3100 |
|
||||
| monitor.poxel.netcraze.link | Docker Grafana :3100 |
|
||||
| portainer.poxel.netcraze.link | Docker Portainer :9443 |
|
||||
| comfy.poxel.netcraze.link | Machine 1 ComfyUI :8188 |
|
||||
| tts.poxel.netcraze.link | Machine 1 AllTalk TTS :5002 |
|
||||
| 3d.poxel.netcraze.link | Machine 1 TripoSR :7860 |
|
||||
| stream.poxel.netcraze.link | Machine 1 Sunshine :47989 |
|
||||
|
||||
SSL: Let's Encrypt HTTP challenge via NPM (auto).
|
||||
|
||||
---
|
||||
|
||||
## Setup Status (as of 2026-06-06)
|
||||
## Setup Status (2026-06-06)
|
||||
|
||||
| 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 | — |
|
||||
| Component | Status |
|
||||
|-----------|--------|
|
||||
| Machine 4 TrueNAS | ✅ Configured |
|
||||
| Machine 3 Docker (13 services) | ✅ All running |
|
||||
| Machine 2 Proxmox + LXC | ✅ Configured |
|
||||
| Router port forwarding 80/443 | ✅ Active |
|
||||
| Router DHCP static bindings | ✅ Active |
|
||||
| MCP servers on Mac ~/.claude.json | ✅ Active (npx/uvx) |
|
||||
| netboot.xyz PXE server | ✅ Running |
|
||||
| NPM subdomains + SSL | ⏳ NEXT STEP |
|
||||
| Homarr dashboard populated | ⏳ Pending |
|
||||
| Authentik SSO configured | ⏳ Pending |
|
||||
| Machine 1 AI PC | ⏳ Not started |
|
||||
|
|
|
|||
|
|
@ -1,58 +1,119 @@
|
|||
# Home AI Cluster — Status
|
||||
|
||||
Last updated: 2026-06-06
|
||||
Last updated: 2026-06-06 (evening session)
|
||||
|
||||
## Goal
|
||||
|
||||
Full local AI platform — no cloud dependency. AI agents, media production (ComfyUI, FLUX, 3D),
|
||||
Russian TTS/STT, workflow automation (n8n, Flowise), robotics simulation (Omniverse/Isaac Lab).
|
||||
Accessible externally at `poxel.netcraze.link`.
|
||||
External access 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.
|
||||
**Docker services → `192.168.170.30` only.** Proxmox LXC containers for native binaries only.
|
||||
All Docker stacks under `/opt/stacks/<name>/` on the Docker machine.
|
||||
|
||||
## Current State
|
||||
## Current State — ALL MACHINES ONLINE ✅
|
||||
|
||||
### Done
|
||||
### Router — Keenetic Peak `192.168.170.1`
|
||||
|
||||
| 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 |
|
||||
- KeeneticOS 5.01.B.4.0-1
|
||||
- SSH port 22, Telnet port 23 (admin / `<REDACTED>`)
|
||||
- DDNS: `poxel.netcraze.link` → `95.165.0.208` ✓
|
||||
- WAN: `GigabitEthernet0/Vlan2` (fiber)
|
||||
- `isolate-private` **DISABLED** (was blocking WiFi→LAN — fixed 2026-06-06)
|
||||
- **Port forwarding:** `ip static tcp GigabitEthernet0/Vlan2 80 192.168.170.30` and `443` ✓
|
||||
- **Static DHCP bindings:**
|
||||
- `6c:92:bf:3b:f7:1f` → 192.168.170.22 (TrueNAS)
|
||||
- `14:b3:1f:2b:ab:a1` → 192.168.170.30 (Docker)
|
||||
- `6c:4b:90:21:43:cc` → 192.168.170.40 (Proxmox)
|
||||
- Config file in project: `/Users/post/VScode/network/running-config170_work.txt`
|
||||
- CLI reference: `/Users/post/VScode/network/keenetic-cli-reference.md`
|
||||
- **Port forwarding CLI syntax:** `ip static tcp <WAN_IFACE> <port> <internal_ip>` (NOT `ip nat destination`)
|
||||
- **Connect via Telnet** (SSH gets blocked by anti-bruteforce after repeated attempts):
|
||||
`expect -c "spawn telnet 192.168.170.1; expect Login; send admin\r; expect Password; send <PW>\r; expect (config)>; ..."`
|
||||
|
||||
### In Progress / Pending
|
||||
### Machine 4 — TrueNAS `192.168.170.22` ✅
|
||||
|
||||
| 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 |
|
||||
- OS: TrueNAS SCALE 26.0.0-BETA.1, hostname `nas`
|
||||
- SSH: `ssh -i ~/.ssh/id_ed25519 truenas_admin@192.168.170.22`
|
||||
- Pool: `datapool` 5.44TB, L2ARC 953GB
|
||||
- NFS shares: ai-models, comfy-models, renders, backup → 192.168.170.0/24
|
||||
|
||||
## Next Actions (in order)
|
||||
### Machine 3 — Docker Engine `192.168.170.30` ✅
|
||||
|
||||
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 per subdomain
|
||||
3. Homarr (`192.168.170.30:7575`): add all service tiles
|
||||
4. Machine 1: install Ollama + mount NFS ai-models share
|
||||
- OS: Debian 13 trixie, SSH: `ssh root@192.168.170.30` (pw: `<REDACTED>`)
|
||||
- Stacks in `/opt/stacks/`
|
||||
- **All 13 containers running:**
|
||||
|
||||
## Key Ports Reference (Docker machine 192.168.170.30)
|
||||
| Service | Port | Stack path |
|
||||
|---------|------|------------|
|
||||
| Nginx Proxy Manager | 80/443/81 | `/opt/stacks/npm` |
|
||||
| Portainer | 9000/9443 | `/opt/stacks/portainer` |
|
||||
| Open WebUI | 8080 | `/opt/stacks/webui` |
|
||||
| n8n | 5678 | `/opt/stacks/n8n` |
|
||||
| Flowise | 3000 | `/opt/stacks/flowise` |
|
||||
| Homarr | 7575 | `/opt/stacks/homarr` |
|
||||
| MinIO | 9001/9002 | `/opt/stacks/minio` |
|
||||
| netboot.xyz | 3002/69udp/8083 | `/opt/stacks/netboot` |
|
||||
| Authentik SSO | 9004/9454 | `/opt/stacks/authentik` |
|
||||
| Prometheus | 9090 | `/opt/stacks/monitoring` |
|
||||
| Grafana | 3100 | `/opt/stacks/monitoring` |
|
||||
|
||||
### Machine 2 — Proxmox `192.168.170.40` ✅
|
||||
|
||||
- PVE 9.2.3, node `prmx`
|
||||
- Web UI: `https://192.168.170.40:8006` (root / `<REDACTED>`)
|
||||
- SSH via expect (password auth): `root@192.168.170.40`
|
||||
- Storage: `ssd` ZFS 1.8TB (all containers on ssd)
|
||||
- **Running LXC containers:**
|
||||
|
||||
| VMID | Hostname | IP | Service | Status |
|
||||
|------|----------|----|---------|--------|
|
||||
| 100 | forgejo | 192.168.170.41 | Forgejo v10.0.3 :3000 | ✅ running |
|
||||
| 102 | mcp | 192.168.170.43 | MCP servers hub | ✅ running |
|
||||
|
||||
- CT101 (authentik) and CT103 (monitoring) **REMOVED** — services migrated to Docker machine
|
||||
|
||||
### Machine 1 — AI PC `192.168.170.10`
|
||||
|
||||
- 2× Xeon 36C/72T, 256GB RAM, A6000 48GB
|
||||
- **NOT YET CONFIGURED** — next major phase
|
||||
|
||||
## MCP Servers
|
||||
|
||||
### On Mac (active, via ~/.claude.json)
|
||||
|
||||
Using `npx`/`uvx` — starts on demand, no pre-install needed:
|
||||
- `memory`, `filesystem`, `sequential-thinking`, `everything` — via npx
|
||||
- `fetch`, `git`, `time` — via uvx
|
||||
- `taskmaster` (task-master-ai) — via npx, needs `ANTHROPIC_API_KEY`
|
||||
|
||||
### On CT102 (192.168.170.43) — for reference/remote use
|
||||
|
||||
- npm: server-memory, server-filesystem, server-sequential-thinking, server-everything, server-puppeteer
|
||||
- pip (venv `/opt/mcp/venv/`): mcp-server-fetch, mcp-server-git, mcp-server-time
|
||||
- Config: `/opt/mcp/claude_mcp_config.json`
|
||||
|
||||
## Next Steps (in order)
|
||||
|
||||
1. **NPM subdomains + SSL** — go to `http://192.168.170.30:81`, add proxy hosts:
|
||||
- `git.poxel.netcraze.link` → Forgejo CT100 :3000
|
||||
- `ai.poxel.netcraze.link` → Open WebUI :8080
|
||||
- `auth.poxel.netcraze.link` → Authentik :9004
|
||||
- `n8n.poxel.netcraze.link` → n8n :5678
|
||||
- `home.poxel.netcraze.link` → Homarr :7575
|
||||
- `monitor.poxel.netcraze.link` → Grafana :3100
|
||||
- `portainer.poxel.netcraze.link` → Portainer :9443
|
||||
- Request Let's Encrypt SSL for each
|
||||
|
||||
2. **Authentik SSO setup** — configure providers, applications, and forward auth policies in NPM
|
||||
|
||||
3. **Homarr dashboard** — add service tiles at `http://192.168.170.30:7575`
|
||||
|
||||
4. **Machine 1 AI PC** — install Ollama, ComfyUI, AllTalk TTS, faster-whisper, LiteLLM
|
||||
|
||||
## Key Port Reference (192.168.170.30)
|
||||
|
||||
| Port | Service |
|
||||
|------|---------|
|
||||
|
|
@ -63,14 +124,20 @@ All new Docker stacks go under `/opt/stacks/<name>/` on the Docker machine.
|
|||
| 5678 | n8n |
|
||||
| 7575 | Homarr |
|
||||
| 8080 | Open WebUI |
|
||||
| 8083 | netboot.xyz HTTP assets |
|
||||
| 8083 | netboot.xyz HTTP |
|
||||
| 9000/9443 | Portainer |
|
||||
| 9001/9002 | MinIO |
|
||||
| 9004/9454 | Authentik |
|
||||
| 9090 | Prometheus |
|
||||
| 69/udp | netboot.xyz TFTP |
|
||||
|
||||
## Architecture
|
||||
## Router CLI Notes
|
||||
|
||||
See `locations/home-cluster-192-168-170.md` for full IP map.
|
||||
See `locations/mcp-hub-192-168-170-43.md` for MCP servers.
|
||||
- Connect via Telnet (not SSH — SSH gets rate-limited):
|
||||
`telnet 192.168.170.1` → Login: admin → Password
|
||||
- Port forwarding: `ip static tcp GigabitEthernet0/Vlan2 <port> <ip>`
|
||||
- Static DHCP: `ip dhcp host <mac> <ip>`
|
||||
- Save: `system configuration save`
|
||||
- Disable client isolation: `no isolate-private`
|
||||
- CLI manual: `/Users/post/VScode/network/keenetic-cli-reference.md`
|
||||
- Annotated config: `/Users/post/VScode/network/keenetic-config-annotated.txt`
|
||||
|
|
|
|||
|
|
@ -2,64 +2,95 @@
|
|||
|
||||
## Purpose
|
||||
|
||||
Rule for deploying services in the home AI cluster at `192.168.170.0/24`.
|
||||
Ensures consistent placement and avoids wasted LXC containers.
|
||||
Rules for deploying services in the home AI cluster at `192.168.170.0/24`.
|
||||
|
||||
## Rule
|
||||
## Rules
|
||||
|
||||
**All Docker-based services → `192.168.170.30` (Docker Engine machine).**
|
||||
**Proxmox LXC containers (`192.168.170.40`) → native binaries and runtimes only.**
|
||||
|
||||
## Procedure
|
||||
## Connecting to Router (Keenetic Peak 192.168.170.1)
|
||||
|
||||
### Adding a new Docker service
|
||||
**Use Telnet, not SSH** — SSH gets blocked by anti-bruteforce after repeated failed attempts.
|
||||
|
||||
```bash
|
||||
expect -c "
|
||||
spawn telnet 192.168.170.1
|
||||
expect 'Login:'
|
||||
send 'admin\r'
|
||||
expect 'Password:'
|
||||
send '<REDACTED>\r'
|
||||
expect '(config)>'
|
||||
send '<your command>\r'
|
||||
expect '(config)>'
|
||||
send 'system configuration save\r'
|
||||
expect '(config)>'
|
||||
send 'exit\r'
|
||||
expect eof
|
||||
"
|
||||
```
|
||||
|
||||
### Key Router Commands
|
||||
|
||||
```
|
||||
# Port forwarding (correct syntax for this firmware)
|
||||
ip static tcp GigabitEthernet0/Vlan2 <ext_port> <internal_ip>
|
||||
|
||||
# Static DHCP
|
||||
ip dhcp host <mac:xx:xx:xx:xx:xx:xx> <ip>
|
||||
|
||||
# Disable WiFi isolation (fixes WiFi→LAN communication)
|
||||
no isolate-private
|
||||
|
||||
# Add to hotspot allow-list
|
||||
ip hotspot host <mac> permit
|
||||
ip hotspot host <mac> conform
|
||||
|
||||
# Save
|
||||
system configuration save
|
||||
```
|
||||
|
||||
**IMPORTANT:** `ip nat destination tcp 80 IP 80` is WRONG syntax on this firmware.
|
||||
Correct: `ip static tcp GigabitEthernet0/Vlan2 80 192.168.170.30`
|
||||
|
||||
## 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
|
||||
2. `mkdir -p /opt/stacks/<name>`
|
||||
3. Write `docker-compose.yml` (and `.env`)
|
||||
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
|
||||
5. Check ports: `docker ps --format '{{.Names}}: {{.Ports}}'`
|
||||
6. Update `locations/home-cluster-192-168-170.md`
|
||||
|
||||
### Adding a new native service (Proxmox LXC)
|
||||
## Adding a New LXC Container (Proxmox)
|
||||
|
||||
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
|
||||
Only when NOT using Docker. All containers go on `ssd` storage:
|
||||
|
||||
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
|
||||
pct start <VMID>
|
||||
pct exec <VMID> -- bash -c 'echo root:<REDACTED> | chpasswd'
|
||||
```
|
||||
|
||||
### Checking what's Docker vs native
|
||||
## IP Reservations
|
||||
|
||||
```bash
|
||||
# On Docker machine — all running Docker services
|
||||
ssh root@192.168.170.30 "docker ps --format '{{.Names}}: {{.Ports}}'"
|
||||
| IP | Role | MAC |
|
||||
|----|------|-----|
|
||||
| 192.168.170.1 | Keenetic router | — |
|
||||
| 192.168.170.10 | Machine 1 AI PC | TBD |
|
||||
| 192.168.170.22 | Machine 4 TrueNAS | 6c:92:bf:3b:f7:1f |
|
||||
| 192.168.170.30 | Machine 3 Docker Engine | 14:b3:1f:2b:ab:a1 |
|
||||
| 192.168.170.40 | Machine 2 Proxmox | 6c:4b:90:21:43:cc |
|
||||
| 192.168.170.41 | CT100 Forgejo | (virtual, static in Proxmox) |
|
||||
| 192.168.170.43 | CT102 MCP Hub | (virtual, static in Proxmox) |
|
||||
|
||||
# On Proxmox — all LXC containers
|
||||
ssh root@192.168.170.40 "pct list"
|
||||
```
|
||||
## Common Gotchas
|
||||
|
||||
## 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.
|
||||
- `isolate-private` enabled → WiFi clients can't reach wired LAN → fix: `no isolate-private`
|
||||
- SSH to router gets blocked after ~5 failed auth attempts (15 min lockout) → use Telnet port 23
|
||||
- Proxmox must be in `known host` before adding to `ip hotspot`
|
||||
- Docker image `lscr.io/linuxserver/netbootxyz` doesn't support amd64 → use `ghcr.io/netbootxyz/netbootxyz`
|
||||
|
|
|
|||
Reference in a new issue