- AGENTS.md: added STRICT RULE section — commit after every chat step - locations/home-cluster-192-168-170.md: full rewrite (4min.pro domain, all SSL done, Forgejo backup, infra org) - dialog-summaries/2026-06-06-home-cluster-ssl-pxe-forgejo-backup.md: session summary Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4.7 KiB
Home AI Cluster — 192.168.170.0/24
Summary
Four-machine local AI platform. All machines ONLINE.
Domain: 4min.pro (REG.RU DNS + Let's Encrypt via NPM).
Port forwarding 80/443 → 192.168.170.30 (NPM).
Last updated: 2026-06-07
Network
| Host | IP | Role |
|---|---|---|
| Keenetic Peak | 192.168.170.1 | Router / DHCP / NAT |
| TrueNAS | 192.168.170.22 | NAS / ZFS / NFS |
| Docker host | 192.168.170.30 | 13 Docker services |
| Proxmox | 192.168.170.40 | Hypervisor LXC |
| AI Server | 192.168.170.10 | Not configured |
Router — Keenetic Peak (192.168.170.1)
Access: Telnet port 23, login admin
IMPORTANT: Use Telnet scripts only — HTTP API auth does NOT work from Python (SameSite cookie bug).
Management scripts on Mac (192.168.170.x / airM1):
python3 /Users/post/VScode/network/keenetic-pull.py— download config with timestamppython3 /Users/post/VScode/network/keenetic-push.py --cmd "<cmd>"— apply command
Key config:
- LAN: Bridge0 → Home, 192.168.170.1/24
- DHCP pool:
_WEBADMIN, range .33–.152 - PXE: option 66=192.168.170.30, option 67=netboot.xyz.kpxe
- Port forward: 80/443 → 192.168.170.30
Proxmox (192.168.170.40)
OS: Proxmox VE 9.2.3, node prmx
SSH: ssh root@192.168.170.40 (password)
LXC Containers
| VMID | Name | IP | Service | Disk |
|---|---|---|---|---|
| 100 | forgejo | 192.168.170.41 | Forgejo v10.0.3 :3000 | 256GB |
| 102 | mcp | 192.168.170.43 | MCP hub (9 servers) | — |
Access: pct exec 100 -- <cmd>, pct exec 102 -- <cmd>
Forgejo (CT100 — 192.168.170.41)
- Web: https://git.4min.pro
- Data:
/var/lib/forgejo/(repos + sqlite db + lfs + data) - Config:
/etc/forgejo/app.ini - Org structure:
garage— project repos (KaMaz, kamaz5360, StereoWallND, ProjectionMapping, joystick)infra— shared knowledge base and infrastructure repos
Forgejo → NAS backup (daily 3:00 AM, no downtime):
- Script:
/usr/local/bin/forgejo-backup.shon Proxmox host - Timer:
systemctl status forgejo-backup.timeron Proxmox - NFS:
192.168.170.22:/mnt/datapool/backup→/mnt/nas-backup(Proxmox fstab) - Location on NAS:
/mnt/datapool/backup/forgejo/daily/YYYY-MM-DD_HH-MM/forgejo-backup.tar.gz - Retention: 30 days
Restore:
pct exec 100 -- systemctl stop forgejo
pct exec 100 -- bash -c "cd / && tar xzf /proc/self/fd/0" < /mnt/nas-backup/forgejo/daily/<DATE>/forgejo-backup.tar.gz
pct exec 100 -- systemctl start forgejo
MCP Hub (CT102 — 192.168.170.43)
See locations/mcp-hub-192-168-170-43.md for details.
Docker Engine (192.168.170.30)
OS: Debian 13 trixie
SSH: ssh root@192.168.170.30 (password)
Stacks: /opt/stacks/<name>/docker-compose.yml
Running Services
| Service | Stack | Ports | URL |
|---|---|---|---|
| nginx-proxy-manager | npm | 80/443/81 | http://192.168.170.30:81 |
| portainer | portainer | 9000 | https://portainer.4min.pro |
| open-webui | webui | 8080 | https://ai.4min.pro |
| n8n | n8n | 5678 | https://n8n.4min.pro |
| flowise | flowise | 3000 | http://192.168.170.30:3000 |
| homarr | homarr | 7575 | https://home.4min.pro |
| minio | minio | 9001/9002 | http://192.168.170.30:9001 |
| netbootxyz | netboot | host | http://192.168.170.30:3002 |
| authentik-server | authentik | 9004/9454 | https://auth.4min.pro |
| prometheus | monitoring | 9090 | http://192.168.170.30:9090 |
| grafana | monitoring | 3100 | http://192.168.170.30:3100 |
netboot.xyz MUST use network_mode: host — Docker bridge NAT breaks TFTP UDP data packets.
SSL Status (all ✅)
All 9 domains have valid Let's Encrypt certs: 4min.pro, git, n8n, ai, home, portainer, auth, www, monitor.
DNS challenge via certbot-dns-regru (API email in NPM config). HTTP challenge used for www/monitor (DNS had negative cache TTL issue).
TrueNAS (192.168.170.22)
SSH: ssh -i ~/.ssh/id_ed25519 truenas_admin@192.168.170.22
ZFS pool: datapool (5.44TB usable, mirror vdev pairs)
NFS Shares (exported to 192.168.170.0/24)
| Path | Purpose |
|---|---|
| /mnt/datapool/ai-models | AI model storage |
| /mnt/datapool/comfy-models | ComfyUI models |
| /mnt/datapool/renders | Render output |
| /mnt/datapool/backup | Backups — Forgejo daily backup here |
AI Server (192.168.170.10) — NOT CONFIGURED
Hardware: 2× Intel Xeon 36C/72T, 256GB RAM, NVIDIA A6000 48GB VRAM Planned: Ollama, ComfyUI, AllTalk TTS, faster-whisper, LiteLLM Proxy
Knowledge Base
Primary: https://git.4min.pro/infra/agent-knowledge-base (Forgejo)
GitHub mirror (auto): https://github.com/krustophski/agent-knowledge-base
Push mirror: Forgejo → GitHub on every commit + every 8h.
Always write to Forgejo. Never push to GitHub directly.