OpenClaw
官方Docker 应用程序 from Selfhosters
概述
运行时参数
- 网络用户界面
http://[IP]:[PORT:18789]/- 网络
bridge- 外壳
sh- 特权
- false
- 额外参数
--user root --hostname OpenClaw
模板配置
Port for Control UI and Gateway API. Access at http://IP:18789/?token=YOUR_TOKEN
- 目标
- 18789
- 默认值
- 18789
- 价值
- 18789
Path to store OpenClaw configuration files, sessions, and credentials
- 目标
- /root/.openclaw
- 默认值
- /mnt/user/appdata/openclaw/config
- 价值
- /mnt/user/appdata/openclaw/config
Path for agent workspace (files, memory, AGENTS.md, projects)
- 目标
- /home/node/clawd
- 默认值
- /mnt/user/appdata/openclaw/workspace
- 价值
- /mnt/user/appdata/openclaw/workspace
Optional additional path for coding projects
- 目标
- /projects
- 默认值
- /mnt/user/appdata/openclaw/projects
- 价值
- /mnt/user/appdata/openclaw/projects
Persistent storage for Homebrew packages. If you install Homebrew manually via console, this mount ensures it persists across restarts.
- 目标
- /home/linuxbrew/.linuxbrew
- 默认值
- /mnt/user/appdata/openclaw/homebrew
- 价值
- /mnt/user/appdata/openclaw/homebrew
Secret token for authentication. Generate with: openssl rand -hex 24 (or use any secret value). Required to access the Control UI.
- 目标
- OPENCLAW_GATEWAY_TOKEN
API key for Claude models (recommended). Get from console.anthropic.com
- 目标
- ANTHROPIC_API_KEY
API key for GPT models. Get from platform.openai.com
- 目标
- OPENAI_API_KEY
API key for OpenRouter - access 100+ models. Get from openrouter.ai
- 目标
- OPENROUTER_API_KEY
API key for Google Gemini models. Get from aistudio.google.com
- 目标
- GEMINI_API_KEY
API key for Groq (fast Llama/Mixtral inference). Get from console.groq.com
- 目标
- GROQ_API_KEY
API key for xAI Grok models. Get from console.x.ai
- 目标
- XAI_API_KEY
API key for Z.AI/Zhipu GLM models. Get from z.ai/model-api
- 目标
- ZAI_API_KEY
(Advanced) GitHub Copilot OAuth token. Requires running 'openclaw models auth login-github-copilot' on another machine first.
- 目标
- COPILOT_GITHUB_TOKEN
(Optional) Discord bot token for Discord integration. Can also configure via Control UI after install.
- 目标
- DISCORD_BOT_TOKEN
(Optional) Telegram bot token from @BotFather. Can also configure via Control UI after install.
- 目标
- TELEGRAM_BOT_TOKEN
Internal gateway port. Change if 18789 is already in use (must match Control UI Port).
- 目标
- OPENCLAW_GATEWAY_PORT
- 默认值
- 18789
- 价值
- 18789
System PATH including Homebrew. Do not modify unless you know what you're doing.
- 默认值
- /home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/root/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- 价值
- /home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/root/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
(Optional) Brave Search API key for web search. Free tier: 2000 queries/month at brave.com/search/api
- 目标
- BRAVE_API_KEY
详细信息
ghcr.io/openclaw/openclaw:latest在Unraid 上运行 OpenClaw 。
OpenClaw 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。