Files
umbrel-apps/hermes-agent/docker-compose.yml
T
2026-05-30 08:26:10 +10:00

45 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.5.29@sha256:4eaa4409d3ce2fcbb57d3423f708ca9fa25c72455b5fab72e3d9078d7b57af80
# Keeps the terminal prompt readable as "hermes@hermes-agent"
hostname: hermes-agent
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:
image: ghcr.io/getumbrel/hermes-agent-umbrel:v2026.5.29@sha256:4eaa4409d3ce2fcbb57d3423f708ca9fa25c72455b5fab72e3d9078d7b57af80
entrypoint: ["/init"]
command: ["/opt/hermes/docker/main-wrapper.sh", "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}