Files
umbrel-apps/hermes-agent/docker-compose.yml
T

46 lines
1.6 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: hermes-agent_web_1
APP_PORT: 18789
# Web terminal + dashboard proxy
web:
image: ghcr.io/getumbrel/hermes-agent-umbrel:v2026.4.13@sha256:fb5fb72235da9ae71ca32b535501e1a78d751fcf16e38b5a9560a548ad9d0d8e
# Shell prompt shows "umbrel@hermes" instead of "umbrel@<container-id>"
hostname: hermes
init: true
user: "1000:1000"
restart: on-failure
depends_on:
- gateway
volumes:
- ${APP_DATA_DIR}/data/hermes:/opt/data
environment:
APP_SEED: ${APP_SEED}
# Tells the dashboard to probe the gateway via HTTP instead of local PID detection
GATEWAY_HEALTH_URL: http://hermes-agent_gateway_1:8642
# Hermes messaging gateway
gateway:
# Using latest tag because upstream version tags are amd64-only. Pinned by digest.
# Switch to a version tag when multiarch version tags are available.
image: nousresearch/hermes-agent:latest@sha256:b0f87728fb313f97c91d19178624a2a67375d6ceeb27800853c866f94c42dfed
command: gateway run
stop_grace_period: 1m
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/hermes:/opt/data
environment:
HERMES_UID: "1000"
HERMES_GID: "1000"
# API server exposes the health endpoint the dashboard probes via GATEWAY_HEALTH_URL.
# Must bind to 0.0.0.0 (not default 127.0.0.1) to be reachable from the web container.
# Binding to 0.0.0.0 requires an API key — we reuse APP_SEED since the port is
# internal only (not exposed to host).
API_SERVER_ENABLED: "true"
API_SERVER_HOST: "0.0.0.0"
API_SERVER_KEY: ${APP_SEED}