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>
56 lines
1.1 KiB
Markdown
56 lines
1.1 KiB
Markdown
# Handoff — Server UI (Docker stack manager)
|
|
|
|
## Stan: kod gotowy (2026-07-04)
|
|
|
|
- [x] `stacks/server-ui/` — app, API, dashboard, systemd unit
|
|
- [x] Dockge usunięty z Dockera
|
|
- [ ] **Produkcja:** `sudo ./scripts/install.sh` (wymaga hasła sudo na hoście)
|
|
- [x] Dev mode zweryfikowany: `:8091` HTTP 200, `/api/gpu`, `/api/stacks`
|
|
|
|
Raport: [`DOCKER-UI-DEPLOYMENT.md`](DOCKER-UI-DEPLOYMENT.md)
|
|
|
|
---
|
|
|
|
## URL
|
|
|
|
```
|
|
http://192.168.100.90:8091
|
|
```
|
|
|
|
API Key po `sudo ./scripts/install.sh`:
|
|
|
|
```bash
|
|
grep ^API_KEY= /opt/control-plane/.env
|
|
```
|
|
|
|
Dev mode (z repo):
|
|
|
|
```bash
|
|
cp stacks/control-plane/.env.example stacks/control-plane/.env
|
|
cd stacks/server-ui && ./scripts/start.sh
|
|
```
|
|
|
|
---
|
|
|
|
## Zarządzanie GPU
|
|
|
|
Stop/Start stacków `localai` / `comfyui` / `vllm` w UI — jeden aktywny GPU workload naraz.
|
|
|
|
---
|
|
|
|
## Czego nie robić
|
|
|
|
- Nie przywracać Portainera/Dockge bez uzgodnienia
|
|
- Nie commitować `.env` z API_KEY
|
|
- Nie `git commit` bez prośby użytkownika
|
|
|
|
---
|
|
|
|
## Diagnostyka
|
|
|
|
```bash
|
|
systemctl status server-ui
|
|
journalctl -u server-ui -f
|
|
curl -s http://127.0.0.1:8091/api/stacks
|
|
```
|