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>
29 lines
720 B
YAML
29 lines
720 B
YAML
name: server-ui
|
|
|
|
services:
|
|
server-ui:
|
|
image: server-ui:local
|
|
build:
|
|
context: ..
|
|
dockerfile: server-ui/Dockerfile
|
|
container_name: server-ui
|
|
profiles:
|
|
- server-ui
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${SERVER_UI_PORT:-8091}:8091"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ${REPO_ROOT:?set REPO_ROOT in .env}:/repo:ro
|
|
env_file:
|
|
- ../control-plane/.env
|
|
environment:
|
|
REPO_ROOT: /repo
|
|
SERVER_UI_HOST: "0.0.0.0"
|
|
SERVER_UI_PORT: "8091"
|
|
GPU_FAN_AGENT_URL: ${GPU_FAN_AGENT_URL:-http://host.docker.internal:18090}
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
group_add:
|
|
- ${DOCKER_GID:-999}
|