OpenHands
Docker 应用程序 from junkerderprovinz Repository
概述
要求
运行时参数
- 网络用户界面
http://[IP]:[PORT:3000]/- 网络
bridge- 外壳
sh- 特权
- false
- 额外参数
--add-host host.docker.internal:host-gateway
模板配置
OpenHands web interface
- 目标
- 3000
- 默认值
- 3000
- 价值
- 3000
Persistent OpenHands configuration and state
- 目标
- /.openhands
- 默认值
- /mnt/user/appdata/openhands
- 价值
- /mnt/user/appdata/openhands
Working directory exposed to the agent
- 目标
- /workspace
- 默认值
- /mnt/user/ai-workspace
- 价值
- /mnt/user/ai-workspace
Required so OpenHands can spawn isolated sandbox containers
- 目标
- /var/run/docker.sock
- 默认值
- /var/run/docker.sock
- 价值
- /var/run/docker.sock
Host:container mount(s) injected into every sandbox container the agent spins up. Must match the Workspace Directory mapping.
- 目标
- SANDBOX_VOLUMES
- 默认值
- /mnt/user/ai-workspace:/workspace:rw
- 价值
- /mnt/user/ai-workspace:/workspace:rw
API key for the LLM backend. For Ollama any non-empty value works (e.g. 'ollama').
- 目标
- LLM_API_KEY
- 默认值
- ollama
- 价值
- ollama
LiteLLM-style model string. Default targets Ollama with qwen2.5-coder:14b.
- 目标
- LLM_MODEL
- 默认值
- ollama/qwen2.5-coder:14b
- 价值
- ollama/qwen2.5-coder:14b
Base URL of the LLM endpoint. Default reaches Ollama on the Unraid host via host.docker.internal. For a remote/LAN Ollama use http://host:11434. Leave blank for hosted providers (OpenAI/Anthropic/etc.) that use their own endpoints.
- 目标
- LLM_BASE_URL
- 默认值
- http://host.docker.internal:11434
- 价值
- http://host.docker.internal:11434
Embedding model used for memory/context. 'local' uses the bundled embedding model.
- 目标
- LLM_EMBEDDING_MODEL
- 默认值
- local
- 价值
- local
详细信息
docker.openhands.dev/openhands/openhands:1.7在Unraid 上运行 OpenHands 。
OpenHands 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。