Add retry logic to code execution and add health check to sandbox container

This commit is contained in:
sabaimran
2025-01-28 18:46:04 -08:00
committed by Debanjum
parent f13bdc5135
commit 4a28714a08
2 changed files with 30 additions and 1 deletions

View File

@@ -14,6 +14,11 @@ services:
retries: 5
sandbox:
image: ghcr.io/khoj-ai/terrarium:latest
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 2
search:
image: docker.io/searxng/searxng:latest
volumes: