Pact Broker with SQLite storage
420
This is a standalone image for trying out Pact Broker, a project that makes it easier to share consumer-driven contracts created using the Pact framework.
This image provides the SQLite implementation as described at https://github.com/bethesque/pact_broker, and as such this image should NOT be used for production deployments. For production environments, you should look at using something like PostgreSQL for your storage.
To run this container, decide what port on your docker machine you want to access the pact broker on, and then...
docker run -d -p {MachinePort}:80 binarymash/pact_broker_sqlite3
Once the container is running, you can browse to the broker at http://{MachineIpAddress}:{MachinePort}. If you are unsure of what value to use for {MachineIpAddress}, then use the value returned by...
docker-machine ip {MachineName}
...where {MachineName} is the name of your docker machine.
$ docker run -d -p 8080:80 binarymash/pact_broker_sqlite3
fb228e9af5afb22e30436b2c324b7885df30d863700e8272ae15025ae92023d0
$ docker-machine ip default
192.168.99.100
In this case, we chose to map the Pact Broker to port 8080 on the docker machine. We know our docker machine is called default, and we found that it is running at 192.168.99.100. So, the Pact Broker will be accessible at http://192.168.99.100:8080
The Pact project is at https://github.com/realestate-com-au/pact
The Pact Broker project is at https://github.com/bethesque/pact_broker
The dockerfile for this image is at https://github.com/binarymash/pact_broker_sqlite3.
There is also a .net demo of the underyling Pact protocol, implemented with pact.net, at https://github.com/binarymash/pactdemo.
Content type
Image
Digest
sha256:86349b1de…
Size
180.9 MB
Last updated
almost 11 years ago
docker pull binarymash/pact_broker_sqlite3