H-6700: Run the Petrinaut optimizer in the local compose stack#9045
H-6700: Run the Petrinaut optimizer in the local compose stack#9045TimDiekmann wants to merge 3 commits into
Conversation
PR SummaryLow Risk Overview A new The Reviewed by Cursor Bugbot for commit e26b500. Bugbot is set up for automated code reviews on this repo. Configure here. |
…acomposecomposeyml-under
🌟 What is the purpose of this PR?
Runs the Petrinaut optimizer as part of the local compose stack:
docker compose --profile hash upstarts it alongside the other services, reachable athttp://petrinaut-opt:4004from the stack andhttp://localhost:4004from the host.🔗 Related links
hashprofile (internal)🚫 Blocked by
ghcr.io/hashintel/hash/petrinaut-optdoes not exist and the compose service cannot pull.🔍 What does this change?
infra/compose/compose.yml:petrinaut-optservice under thehashprofile, using the prebuilt GHCR image like the other app-tier services (bind address, port, healthcheck, and non-root user are baked into the image, so noenvironment:/healthcheck:blocks are needed; nodepends_on— the optimizer is self-contained)apiservice getsHASH_PETRINAUT_OPT_HOST/HASH_PETRINAUT_OPT_PORT, mirroring the production wiring for the upcoming Node-API integrationPre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
❓ How to test this?
docker compose -f infra/compose/compose.yml --profile hash up petrinaut-opt/statushealthcheck)curl http://localhost:4004/status→ 200