the contract testing hub for the Pact ecosystem: publish consumer contracts, verify them from the provider side, and let can i deploy answer whether a release is safe.
Pact Broker is the open source contract testing hub for the Pact ecosystem. Consumer test runs publish their contracts to it, providers fetch those contracts and publish their verification results back, and can i deploy answers the question a release pipeline actually needs answered: is this version safe to deploy, given everything it talks to. It keeps the history of every contract, the matrix of who verified what against which version, tags and branches describing where each version has reached, and a web interface for reading all of it. Webhooks let it trigger the provider build when a consumer publishes a new contract, so the two sides of an integration stay honest without anyone co ordinating a release.
Pact Broker has no authentication of its own unless credentials are supplied, and the official image turns authentication on only if it finds them, so a missing configuration file produces an open broker rather than one that refuses to start. The cloudimg image never lets that happen: the broker is held back until the first boot of every instance has generated its own credentials, and it cannot start without them. Two accounts are created rather than one, a write login for your pipeline and a separate read only login for people and dashboards, each with its own password unique to that instance, so nobody who only needs to read the matrix holds the credential that could rewrite it. The upstream example contracts a new broker normally seeds itself with are switched off, so the instance you receive is genuinely empty, and the status badges the official image serves to anyone require a credential here. Only SSH and HTTPS are reachable: the broker never leaves the loopback interface, there is no plaintext port at all, and the database has no network listener whatsoever. The base URL the broker writes into every link it returns is resolved per instance, so CI tooling can follow those links immediately. An on instance self test publishes a contract, reads it back, records a verification result and checks can i deploy answers correctly both ways before removing everything it created. Paired deployment guide and 24/7 cloudimg support.
Real screenshots taken while testing this image against its deployment guide.