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>
35 lines
949 B
Bash
35 lines
949 B
Bash
# Unified control plane credentials (gpu-fan + Server UI)
|
|
# Production: /opt/control-plane/.env
|
|
# Dev: cp stacks/control-plane/.env.example stacks/control-plane/.env
|
|
|
|
# --- Shared auth (Server UI panel + gpu-fan agent proxy) ---
|
|
API_KEY=change-me-generate-with-openssl-rand-hex-16
|
|
|
|
# --- Server UI ---
|
|
SERVER_UI_HOST=0.0.0.0
|
|
SERVER_UI_PORT=8091
|
|
REPO_ROOT=/home/tomasz-syn-grzegorza/cursor/ubuntu-bare-metal
|
|
DOCKER_GID=999
|
|
|
|
# GPU fan agent URL (Server UI proxy target)
|
|
GPU_FAN_AGENT_URL=http://127.0.0.1:18090
|
|
|
|
# --- gpu-fan agent (NVML daemon) ---
|
|
GPU_FAN_API_HOST=127.0.0.1
|
|
GPU_FAN_API_PORT=18090
|
|
|
|
# Fan curve config (created by install.sh under /etc/gpu-fan/)
|
|
CURVE_PATH=/etc/gpu-fan/curve.json
|
|
POLL_INTERVAL=2.0
|
|
GPU_INDEX=0
|
|
|
|
# --- File explorer (Server UI) ---
|
|
FILE_EXPLORER_ROOT=/
|
|
FILE_EXPLORER_MAX_BYTES=2097152
|
|
|
|
# --- CLI terminal (Server UI) ---
|
|
CLI_ENABLED=1
|
|
CLI_SHELL=/bin/bash
|
|
CLI_DEFAULT_CWD=/home/tomasz-syn-grzegorza
|
|
CLI_MAX_SESSIONS=5
|