359afb3a59
Infrastructure configs for GMKtec K11 (Docker, vLLM, LocalAI, ComfyUI, control-plane, gpu-fan agent, Server UI with CLI/file explorer/GPU fan curve). Co-authored-by: Cursor <cursoragent@cursor.com>
2.5 KiB
2.5 KiB
Wdrożenie UI zarządzania Dockerem (Server UI)
Data: 2026-07-05 (aktualizacja: instalator control plane)
Host: gmktec-k11 (192.168.100.90 — enp3s0)
Kontekst
- Portainer usunięty 2026-07-04 —
PORTAINER-REMOVAL.md - Dockge usunięty 2026-07-04 —
DOCKGE-REMOVAL.md - Własny panel:
stacks/server-ui/— port 8091 - gpu-fan: host agent :18090 (tylko systemd, bez Docker)
Podsumowanie
| Element | Wartość |
|---|---|
| Stack | stacks/server-ui/ |
| Runtime native | systemd (server-ui.service) → /opt/server-ui |
| Runtime Docker | docker compose --profile server-ui (opcjonalnie) |
| HTTP | http://192.168.100.90:8091 |
| Auth mutacji | X-API-Key — /opt/control-plane/.env (native) lub stacks/control-plane/.env (docker) |
| Stacki | localai, vllm, comfyui, npmplus |
Server UI nie pojawia się w docker ps przy instalacji native — to usługa systemd, nie kontener.
Instalacja (zalecana)
cd ~/cursor/ubuntu-bare-metal/stacks/server-ui
sudo ./scripts/install-control-plane.sh
Menu: gpu-fan native (Y/n) + Server UI native (1) / Docker (2) / skip (3).
# Bez pytań: gpu-fan + server-ui native
sudo ./scripts/install-control-plane.sh -y
# Tylko Server UI Docker
sudo ./scripts/install-control-plane.sh --gpu-fan=no --server-ui=docker
Tylko Server UI
| Tryb | Komenda |
|---|---|
| Native | sudo ./scripts/install.sh |
| Docker | sudo ./scripts/install-docker.sh |
Klucze:
grep ^API_KEY= /opt/control-plane/.env
Tutorial: manual-tutorial/08-server-ui-install.md
Pierwsze użycie
- Otwórz http://192.168.100.90:8091/?api_key=KLUCZ
- Karty stacków: Start/Stop, logi, edycja portów, linki (8070, 8188, …)
- Zakładka GPU Fan — wymaga działającego
gpu-fan.service
Polityka GPU
RTX 3090 Ti 24 GB — jeden duży workload GPU naraz. API zwraca 409 przy konflikcie.
Weryfikacja
# Native
systemctl status server-ui gpu-fan
curl -s http://127.0.0.1:8091/api/health
# Docker
docker compose --profile server-ui ps
curl -s http://127.0.0.1:8091/api/stacks