This repository hosts the orchestration layer that coordinates miners, validators, and auxiliary services. The development workflow runs entirely in Docker and uses FastAPI for the HTTP interface.
- Copy
.env.exampleto.envand fill in the required secrets. - Start the dev stack:
just up. To skip rebuilding images usejust local. - Confirm services are healthy:
- Orchestrator API:
http://localhost:42169/health - Jobrelay API:
http://localhost:8181/health - Stub miner API:
http://localhost:8765/
- Orchestrator API:
- Tail logs with
just devlogs(orjust orclogsfor orchestrator-only).
- Unit tests (containerized):
docker compose -f docker-compose-local.yml run --rm orchestrator-dev pytest orchestrator/tests -q. - Functional tests (against the running stack): see
AGENTS.mdfor the full workflow. - Integration tests that rely on a dedicated Postgres instance are documented in
INTERNAL.md.
- Run
DATABASE_URL="postgres://..." just db-migrateto build the Atlas image and apply migrations. - Additional Atlas commands and automation guidance live in
database/instructions.md.