From 7cf9bd9fdc6f23e678a5c2e915ef7629f049ed44 Mon Sep 17 00:00:00 2001 From: Marc Blatter Date: Wed, 22 Jul 2026 10:23:08 +0000 Subject: [PATCH] composte-hermes.yml aktualisiert --- composte-hermes.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/composte-hermes.yml b/composte-hermes.yml index 0be519d..3d86df8 100644 --- a/composte-hermes.yml +++ b/composte-hermes.yml @@ -60,19 +60,23 @@ services: - HERMES_UID=${HERMES_UID:-10000} - HERMES_GID=${HERMES_GID:-10000} - OPENAI_BASE_URL=http://vllm:8005/v1 - - OPENAI_API_KEY=sk-dummy-key-1234567890 # bessere Lesbarkeit für dummy-key + - OPENAI_API_KEY=sk-dummy-key-1234567890 - GATEWAY_HEALTH_URL=http://localhost:8642 - entrypoint: ["/bin/sh", "-c"] + entrypoint: ["/bin/bash", "-c"] command: - | + set -e hermes-agent gateway run & GATEWAY_PID=$! until curl -sf http://localhost:8642 >/dev/null 2>&1; do sleep 1; done hermes-agent dashboard --host 0.0.0.0 --no-open & DASHBOARD_PID=$! wait -n $GATEWAY_PID $DASHBOARD_PID + EXIT_CODE=$? + kill $GATEWAY_PID $DASHBOARD_PID 2>/dev/null || true + exit $EXIT_CODE healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8642"] + test: ["CMD-SHELL", "curl -f http://localhost:8642 && curl -f http://localhost:9119"] interval: 30s timeout: 10s retries: 5