Implement runtime agent loop and container hygiene
This commit is contained in:
@@ -41,6 +41,7 @@ services:
|
||||
LLM_BASE_URL: ${LLM_BASE_URL:-}
|
||||
LLM_API_KEY: ${LLM_API_KEY:-}
|
||||
LLM_MODEL: ${LLM_MODEL:-gpt-3.5-turbo}
|
||||
AGENT_LOOP_INTERVAL_SECONDS: ${AGENT_LOOP_INTERVAL_SECONDS:-60}
|
||||
EXPORT_PATH: /app/exports
|
||||
volumes:
|
||||
- ./exports:/app/exports
|
||||
@@ -49,7 +50,7 @@ services:
|
||||
networks:
|
||||
- sanctum-net
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
||||
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:8000/health').raise_for_status()"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user