Files
agentbox/compose.yaml
T
Yash Shah 20ebd1a69d feat(init): add agentbox v0.1 foundation
Self-hosted agent code execution API with FastAPI, subprocess sandbox,
Python SDK client, Docker Compose service, and unit tests.
2026-08-19 00:32:53 +05:30

27 lines
600 B
YAML

services:
agentbox:
build:
context: .
dockerfile: docker/Dockerfile
target: runtime
ports:
- "8080:8080"
environment:
AGENTBOX_LOG_LEVEL: INFO
AGENTBOX_DEFAULT_TIMEOUT_SECONDS: 30
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health')"]
interval: 10s
timeout: 5s
retries: 3
test:
build:
context: .
dockerfile: docker/Dockerfile
target: dev
volumes:
- .:/app
working_dir: /app
command: ["pytest", "tests/", "-v"]