mirror of
https://github.com/EKKOLearnAI/hermes-web-ui.git
synced 2026-05-29 15:30:18 +00:00
b9b99042a0
* refactor(docker): merge two-container setup into single container The Web UI already manages the Hermes Agent gateway lifecycle internally via GatewayManager (spawn hermes gateway run --replace), making the separate hermes-agent container redundant. The Dockerfile is built on the hermes-agent base image, so all CLI tooling is already included. - Remove hermes-agent service and shared volume from docker-compose.yml - Remove gateway port mapping (8642-8670) — internal-only now - Update docs/docker.md, README.md, README_zh.md for single-container setup Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * docs: remove version tag from image references Use ekkoye8888/hermes-web-ui instead of ekkoye8888/hermes-web-ui:latest to avoid pinning a specific version in documentation. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
22 lines
679 B
YAML
22 lines
679 B
YAML
services:
|
|
hermes-webui:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: ${WEBUI_IMAGE:-hermes-web-ui-local:latest}
|
|
container_name: ${WEBUI_CONTAINER_NAME:-hermes-webui}
|
|
ports:
|
|
- "${PORT:-6060}:${PORT:-6060}"
|
|
volumes:
|
|
- ${HERMES_DATA_DIR:-./hermes_data}:/home/agent/.hermes
|
|
- ${HERMES_DATA_DIR:-./hermes_data}/hermes-web-ui:/home/agent/.hermes-web-ui
|
|
environment:
|
|
- PORT=${PORT:-6060}
|
|
- HERMES_HOME=/home/agent/.hermes
|
|
- HERMES_BIN=/opt/hermes/.venv/bin/hermes
|
|
- AUTH_DISABLED=${AUTH_DISABLED:-false}
|
|
- HERMES_ALLOW_ROOT_GATEWAY=1
|
|
restart: unless-stopped
|
|
stdin_open: true
|
|
tty: true
|