fix: tighten internal semantic compose contracts

This commit is contained in:
2026-08-08 18:47:22 +02:00
parent 320d9ea74e
commit 8f4ec1e1a3
7 changed files with 106 additions and 6 deletions
+12 -1
View File
@@ -102,6 +102,17 @@ services:
- "11434"
volumes:
- embedding-models:/root/.ollama
healthcheck:
test:
- CMD-SHELL
- >
/usr/bin/bash -lc "exec 3<>/dev/tcp/127.0.0.1/11434 &&
printf 'GET /api/tags HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: close\r\n\r\n' >&3 &&
grep -q '200 OK' <&3"
interval: 15s
timeout: 5s
retries: 20
start_period: 10s
networks:
- thothii
@@ -117,7 +128,7 @@ services:
- ./docker/embedding-model-init.sh:/opt/thoth/embedding-model-init.sh:ro
depends_on:
embedding:
condition: service_started
condition: service_healthy
networks:
- thothii