Files
umbrel-apps/hermes-agent/docker-compose.yml
T
2026-06-01 09:36:36 +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.2@sha256:b3de1be37dc4a07c6fcc5ad3027e2783ee1ab3b628868554d6e1030618017b60
# 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.2@sha256:b3de1be37dc4a07c6fcc5ad3027e2783ee1ab3b628868554d6e1030618017b60
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}