Files
jarvis-home/.env.example
2026-08-29 17:02:35 +02:00

133 lines
4.1 KiB
Plaintext

JARVIS_ADDR=:8080
JARVIS_DATA=./data/store.json
JARVIS_RAG_DATA=./data/rag.json
JARVIS_WAKE_WORD=jarvis
TZ=Europe/Berlin
OLLAMA_URL=http://localhost:11434
OLLAMA_MODEL=auto
OLLAMA_EMBED_MODEL=auto
# Autonome Worker
TASK_SCOUT_INTERVAL=2m
HOME_AUTOMATION_INTERVAL=1m
KANBAN_AI_INTERVAL=5m
# Lokale Sprachpipeline
VOICE_FFMPEG_BIN=ffmpeg
VOICE_WHISPER_BIN=whisper-cli
VOICE_WHISPER_MODEL=./models/ggml-small.bin
VOICE_LANGUAGE=de
VOICE_PIPER_BIN=piper
VOICE_PIPER_MODEL=./models/de_DE-thorsten-medium.onnx
# Explizite Zeitzone für KI-Datumsnormalisierung
JARVIS_TIMEZONE=Europe/Berlin
# Ollama-Kontextfenster / Tokenbudgets
# 16k ist ein guter Startwert für gemma3:4b auf einem lokalen Rechner.
# Bei knapper VRAM/RAM auf 8192 reduzieren; bei genügend Speicher z.B. 32768.
OLLAMA_NUM_CTX=16384
OLLAMA_NUM_PREDICT=1200
OLLAMA_TEMPERATURE=0.15
# Strukturierte Planner/Scout/Kanban-Aufrufe: kleiner, deterministischer, Temperatur 0.
OLLAMA_PLANNER_NUM_CTX=8192
OLLAMA_PLANNER_NUM_PREDICT=700
OLLAMA_PLANNER_TEMPERATURE=0
# Native Tool Agent (Ollama function/tool calling)
OLLAMA_AGENT_NUM_CTX=16384
OLLAMA_AGENT_NUM_PREDICT=700
OLLAMA_AGENT_TEMPERATURE=0
JARVIS_AGENT_MAX_STEPS=6
# Logische Verteilung innerhalb des Kontextfensters.
JARVIS_HISTORY_TOKENS=3200
JARVIS_PLANNER_HISTORY_TOKENS=1800
JARVIS_STATE_TOKENS=3200
JARVIS_RAG_TOKENS=4200
# Strukturierter Debug-Trace (lokal)
# Zeichnet API-I/O und interne Pipeline-Stufen als JSONL auf.
JARVIS_DEBUG_TRACE=true
JARVIS_DEBUG_DIR=./data/debug
JARVIS_DEBUG_MAX_MB=25
JARVIS_DEBUG_KEEP_FILES=4
JARVIS_DEBUG_MAX_STRING=24000
# GET /api/state ist sehr häufig; standardmäßig nicht mitschreiben.
JARVIS_DEBUG_HTTP_STATE=false
# Docker v7.6: whisper-cli is built into the image at /usr/local/bin/whisper-cli.
# The compose.yaml sets absolute container paths automatically. The values above
# are mainly useful for native/non-Docker runs.
# Pluginfähige Skill Engine
JARVIS_SKILLS_DIR=./skills
JARVIS_SKILLS_ENABLED=true
# Trusted lokale Prozess-Skills ausführen. Entry-Point standardmäßig nur aus dem Skill-Ordner.
JARVIS_SKILL_PROCESS_ENABLED=true
# Systemweite Commands/Interpreter nur aktivieren, wenn ein vertrauenswürdiger Skill sie wirklich benötigt.
JARVIS_SKILL_ALLOW_SYSTEM_EXEC=false
JARVIS_SKILL_MAX_TIMEOUT_MS=30000
JARVIS_SKILL_MAX_OUTPUT_KB=1024
# v9 Distributed Skill Mesh
JARVIS_MESH_ENABLED=true
# Shared bootstrap/enrollment secret. Set a long random value in Docker deployments.
JARVIS_MESH_ENROLLMENT_TOKEN=change-this-enrollment-token
JARVIS_MESH_LEASE_SECONDS=30
JARVIS_MESH_INVOKE_TIMEOUT_MS=30000
# Master-side Docker controller. docker.sock grants powerful host Docker access;
# controller operations are hard-limited to containers with this exact label/value.
JARVIS_DOCKER_CONTROLLER_ENABLED=false
JARVIS_DOCKER_SOCKET=/var/run/docker.sock
JARVIS_DOCKER_SKILL_LABEL=com.jarvis.skill-service
JARVIS_DOCKER_SKILL_LABEL_VALUE=true
# Remote worker defaults (set inside worker containers)
JARVIS_MASTER_URL=http://jarvis:8080
JARVIS_ENROLLMENT_TOKEN=change-this-enrollment-token
JARVIS_WORKER_ADDR=:8090
JARVIS_WORKER_PUBLIC_URL=http://skill-python:8090
JARVIS_WORKER_NAME=python-main
JARVIS_WORKER_RUNTIME=python
JARVIS_WORKER_RUNTIME_VERSION=3.13
JARVIS_WORKER_ALLOW_SYSTEM_EXEC=true
JARVIS_WORKER_MAX_OUTPUT_KB=1024
# v9.1 Home Control Skill Pack
# Philips Hue local CLIP v2
HUE_BRIDGE_URL=https://192.168.1.20
HUE_APP_KEY=
HUE_VERIFY_TLS=false
# UniFi local integration APIs. Point directly at the integration base URLs.
UNIFI_NETWORK_URL=https://192.168.1.1/proxy/network/integration
UNIFI_PROTECT_URL=https://192.168.1.1/proxy/protect/integration
UNIFI_API_KEY=
UNIFI_VERIFY_TLS=false
# Proxmox VE API token. Example token ID: jarvis@pve!home-control
PROXMOX_BASE_URL=https://192.168.1.10:8006
PROXMOX_TOKEN_ID=
PROXMOX_TOKEN_SECRET=
PROXMOX_VERIFY_TLS=false
# Dockge / Compose stack control. Mutations are denied unless explicitly listed.
DOCKGE_STACKS_DIR=/opt/stacks
DOCKGE_ALLOWED_STACKS=
# Network helpers
WOL_BROADCAST=255.255.255.255
WOL_PORT=9
# Optional ntfy notifications
NTFY_BASE_URL=https://ntfy.sh
NTFY_TOKEN=
NTFY_DEFAULT_TOPIC=
NTFY_VERIFY_TLS=true