Files
openshell_controller/.env.example
T

53 lines
1.9 KiB
Bash

# NemoClaw Dashboard Configuration
# Copy this file to .env.local and customize
# OpenShell/Kubernetes namespace to monitor
NEXT_PUBLIC_KUBERNETES_NAMESPACE=agent-sandbox-system
# Docker container name running OpenShell
OPEN_SHELL_CONTAINER=openshell-cluster-openshell
# OpenShell gateway name used by CLI commands
OPENSHELL_GATEWAY=nemoclaw
# Sandbox create GPU mode: none, auto, or required.
OPENSHELL_CONTROL_CREATE_GPU_MODE=none
# Optional gateway address override for containerized OpenShell/NemoClaw CLIs
# OPENSHELL_GATEWAY_HOST=host.docker.internal
# OPENSHELL_GATEWAY_PORT=8080
# OPENSHELL_GATEWAY_URL=http://host.docker.internal:8080
# Ollama discovery and inference routing.
# In WSL2, prefer a WSL-local Ollama server for large models. The model picker also
# probes the Windows host gateway and Windows localhost through WSL interop.
OPENSHELL_OLLAMA_BASE_URL=http://127.0.0.1:11434
# OPENSHELL_OLLAMA_HOSTS=127.0.0.1,172.19.0.1
# OPENSHELL_OLLAMA_PROBE_TIMEOUT_MS=2500
OPENSHELL_OLLAMA_WINDOWS_INTEROP=1
# Dashboard port. PORT controls the server listener; NEXT_PUBLIC_DASHBOARD_PORT is exposed to the UI.
PORT=3000
NEXT_PUBLIC_DASHBOARD_PORT=3000
# Browser-visible OpenClaw dashboard websocket base.
# Leave unset for same-origin reverse-proxy deployments.
# OPENCLAW_DASHBOARD_BASE_WS_URL=wss://control.example.com
# BASE_WS_URL=wss://control.example.com
# OPENCLAW_DASHBOARD_WS_PROXY_PORT=3001
# Simple operator login for the dashboard
# Generate both values before exposing the UI beyond localhost.
OPENSHELL_CONTROL_PASSWORD=change-this-password
OPENSHELL_CONTROL_AUTH_SECRET=change-this-random-32-byte-secret
OPENSHELL_CONTROL_RECOVERY_TOKEN=change-this-local-recovery-token
# OPENSHELL_CONTROL_AUTH_DISABLED=false
# API endpoints
NEXT_PUBLIC_API_BASE=/api
# Enable Create/Destroy operations
NEXT_PUBLIC_ENABLE_SANDBOX_OPERATIONS=true
# Optional: Override default namespace if using different one
# KUBERNETES_NAMESPACE=your-custom-namespace