Adds a small Next.js dashboard as a new Docker service () that replaces the need to manually edit and call over SSH every time you want to tweak llama launch parameters. Features: - Live status panel for all GPU-node containers (auto-refresh) - Models list with file sizes, click-to-select active model - Structured launch config form: * Model, ctx-size, parallel, batch-size, n-gpu-layers, threads * Context overflow (none / shift / evict) * Speculative decoding (spec-type, draft model, spec-draft-n-max) * Free-form extra args textarea for anything else - Named presets (save / load / delete) - Start / Restart / Stop / Remove llama actions - Live streaming logs viewer (docker logs -f) - GPU status (nvidia-smi via docker exec on llama) - Auto-writes LLAMA_MODEL and LLAMA_EXTRA_ARGS back to .env so the existing workflow keeps working, and persists full structured config to gpu/dashboard/config.json for reload on next visit Integration: - New service in compose.yaml (no profile, runs always) - Mounts /var/run/docker.sock + HOST_PROJECT_PATH - Tailscale serve exposes port 8090 -> dashboard:3000 - build.sh extended to build the dashboard image Tech: Next.js 16 standalone, React 19, TypeScript 5, Tailwind 4, shadcn-style components, Radix UI primitives.
50 lines
660 B
Plaintext
50 lines
660 B
Plaintext
# SSH
|
|
ssh/authorized_keys
|
|
|
|
# Tailscale
|
|
tailscale/state/
|
|
|
|
# GPU models / generated data
|
|
gpu/llama_models/*
|
|
!gpu/llama_models/.gitkeep
|
|
|
|
gpu/comfy/models/*
|
|
!gpu/comfy/models/.gitkeep
|
|
|
|
gpu/comfy/input/*
|
|
!gpu/comfy/input/.gitkeep
|
|
|
|
gpu/comfy/output/*
|
|
!gpu/comfy/output/.gitkeep
|
|
|
|
gpu/comfy/custom_nodes/*
|
|
!gpu/comfy/custom_nodes/.gitkeep
|
|
|
|
gpu/comfy/user/*
|
|
!gpu/comfy/user/.gitkeep
|
|
|
|
comfyui/run/
|
|
!comfyui/run/.gitkeep
|
|
|
|
# Model worker
|
|
gpu/model-worker/*
|
|
|
|
# Dashboard persisted config (created at runtime)
|
|
gpu/dashboard/*
|
|
!gpu/dashboard/.gitkeep
|
|
|
|
# Environment / secrets
|
|
.env
|
|
*.env
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
.venv/
|
|
|
|
# OS / IDE
|
|
.DS_Store
|
|
Thumbs.db
|
|
.idea/
|
|
.vscode/
|