hermes-agent
Docker 应用程序 from rorar's Repository
概述
要求
运行时参数
- 网络用户界面
http://[IP]:[PORT:9119]- 网络
bridge- 外壳
bash- 额外参数
--shm-size=1g --user 0:0 --hostname=hermes-agent --restart=unless-stopped
模板配置
HTTP port for the web dashboard. After setup, configure Hermes to run the dashboard command. See: https://hermes-agent.nousresearch.com/docs/user-guide/features/web-dashboard
- 目标
- 9119
- 默认值
- 9119
Persistent config directory for Hermes (.env, config.yaml, skills, memories, logs).
- 目标
- /opt/data
- 默认值
- /mnt/user/appdata/hermes-agent
Timezone for scheduling. See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
- 目标
- TZ
- 默认值
- Europe/Berlin
Docs: https://hermes-agent.nousresearch.com/docs
Enable the built-in HTTP API server (required for dashboard and integrations).
- 目标
- API_SERVER_ENABLED
- 默认值
- true
Host address for the API server (0.0.0.0 for all interfaces).
- 目标
- API_SERVER_HOST
- 默认值
- 0.0.0.0
Port for the API server.
- 目标
- API_SERVER_PORT
- 默认值
- 8642
Bearer token for API authentication. Required when binding to non-localhost. Use the same value in Open WebUI. Generate with: openssl rand -hex 32
- 目标
- API_SERVER_KEY
Docs: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/matrix
Matrix homeserver URL.
- 目标
- MATRIX_HOMESERVER
- 默认值
- https://matrix-client.matrix.org
Matrix access token (recommended). User ID is auto-detected from token.
- 目标
- MATRIX_ACCESS_TOKEN
Matrix user ID. Not required if MATRIX_ACCESS_TOKEN is set.
- 目标
- MATRIX_USER_ID
Matrix password. Not required if MATRIX_ACCESS_TOKEN is set.
- 目标
- MATRIX_PASSWORD
Matrix recovery key for cross-signing (for E2EE).
- 目标
- MATRIX_RECOVERY_KEY
Matrix device ID (leave empty for auto-generated).
- 目标
- MATRIX_DEVICE_ID
- 默认值
- HERMES_BOT
Matrix room ID for bot's home room (for cron notifications).
- 目标
- MATRIX_HOME_ROOM
Comma-separated list of allowed Matrix user IDs (empty = deny all except self).
- 目标
- MATRIX_ALLOWED_USERS
Enable end-to-end encryption (requires libolm).
- 目标
- MATRIX_ENCRYPTION
- 默认值
- true
Bot only responds when mentioned in rooms (DMs always respond).
- 目标
- MATRIX_REQUIRE_MENTION
- 默认值
- false
Show emoji reactions during message processing.
- 目标
- MATRIX_REACTIONS
- 默认值
- true
Auto-create threads for responses in rooms.
- 目标
- MATRIX_AUTO_THREAD
- 默认值
- true
Comma-separated room IDs that respond without mention.
- 目标
- MATRIX_FREE_RESPONSE_ROOMS
Docs: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/telegram
Telegram bot token from @BotFather.
- 目标
- TELEGRAM_BOT_TOKEN
Comma-separated list of allowed Telegram user IDs.
- 目标
- TELEGRAM_ALLOWED_USERS
Docs: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/discord
Discord bot token.
- 目标
- DISCORD_BOT_TOKEN
Discord guild/server ID.
- 目标
- DISCORD_GUILD_ID
Docs: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/slack
Slack Bot Token (xoxb-...).
- 目标
- SLACK_BOT_TOKEN
Slack App Token (xapp-...).
- 目标
- SLACK_APP_TOKEN
Docs: https://hermes-agent.nousresearch.com/docs
OpenAI API key.
- 目标
- OPENAI_API_KEY
OpenRouter API key.
- 目标
- OPENROUTER_API_KEY
Anthropic API key (for Claude).
- 目标
- ANTHROPIC_API_KEY
Google AI API key (for Gemini).
- 目标
- GOOGLE_API_KEY
DeepSeek API key.
- 目标
- DEEPSEEK_API_KEY
Groq API key (for Groq Whisper STT).
- 目标
- GROQ_API_KEY
Ollama base URL (e.g. http://host:11434).
- 目标
- OLLAMA_BASE_URL
Custom OpenAI-compatible API base URL.
- 目标
- OPENAI_BASE_URL
z.ai / ZhipuAI GLM API key.
- 目标
- GLM_API_KEY
Kimi / Moonshot API key.
- 目标
- KIMI_API_KEY
MiniMax global API key.
- 目标
- MINIMAX_API_KEY
MiniMax China endpoint API key.
- 目标
- MINIMAX_CN_API_KEY
Kilo Code API key.
- 目标
- KILOCODE_API_KEY
Xiaomi MiMo API key.
- 目标
- XIAOMI_API_KEY
Hugging Face Inference Providers token.
- 目标
- HF_TOKEN
Alibaba DashScope API key.
- 目标
- DASHSCOPE_API_KEY
OpenCode Zen API key.
- 目标
- OPENCODE_ZEN_API_KEY
OpenCode Go API key.
- 目标
- OPENCODE_GO_API_KEY
Vercel AI Gateway API key.
- 目标
- AI_GATEWAY_API_KEY
Tavily API key for AI-native web search, extract, and crawl.
- 目标
- TAVILY_API_KEY
Exa API key for AI-native web search and content retrieval.
- 目标
- EXA_API_KEY
Docs: https://hermes-agent.nousresearch.com/docs
Sudo password for the container (stored in plaintext - use with caution).
- 目标
- SUDO_PASSWORD
UID for the hermes user inside container. Match to your Unraid user (default: nobody). Set to 0 for root.
- 目标
- HERMES_UID
- 默认值
- 99
GID for the hermes user. Match to your Unraid users group.
- 目标
- HERMES_GID
- 默认值
- 100
UMASK for files created by the container.
- 目标
- UMASK
- 默认值
- 000
Home directory for Hermes config and data.
- 目标
- HERMES_HOME
- 默认值
- /opt/data
下载统计数据
详细信息
nousresearch/hermes-agent:latest在Unraid 上运行 hermes-agent 。
hermes-agent 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。