mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-30 17:11:20 +03:00
44 lines
1.5 KiB
YAML
44 lines
1.5 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.16@sha256:f7c5e901c21bcac4559fca21529ec7bb9986de4324a9b0b61cf4f1c8314d126f
|
|
# 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:
|
|
image: nousresearch/hermes-agent:v2026.4.16@sha256:14ba9a26cf2d498ea773f1825326c404795ec4cb436a9479d22b7a345396c370
|
|
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}
|