services: agentbox: build: context: . dockerfile: docker/Dockerfile target: runtime ports: - "8080:8080" environment: AGENTBOX_LOG_LEVEL: INFO AGENTBOX_DEFAULT_TIMEOUT_SECONDS: 30 AGENTBOX_SNAPSHOT_DIR: /tmp/agentbox-snapshots 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"]