composte-hermes.yml aktualisiert
This commit is contained in:
parent
76f7f6e4db
commit
7cf9bd9fdc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue