mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Add retry logic to code execution and add health check to sandbox container
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user