pact-broker-docker

(β˜… 115)

Dockerized Pact Broker

  • .dockerignore
  • .gitignore
  • .rspec
  • .ruby-version
  • CHANGELOG.md
  • docker-compose-clean-cron.yml
  • docker-compose-clean.yml
  • docker-compose-debian.yml
  • docker-compose-dev-migrate.yml
  • docker-compose-dev.yml
  • docker-compose-heroku.yml
  • docker-compose-test-different-env-var-names.yml
  • docker-compose-tests.yml
  • docker-compose-with-conf-file.yml
  • docker-compose.yml
  • Dockerfile
  • Dockerfile-bundle-base
  • Dockerfile-package-base
  • Dockerfile.debian
  • Gemfile
  • Gemfile.lock
  • LICENSE.txt
  • POSTGRESQL.md
  • Rakefile
  • README.md
  • RELEASING.md
  • renovate.json
  • VERSION

# Installation Guide

1. Get the code
git clone https://github.com/pact-foundation/pact-broker-docker

Downloads the entire project code from GitHub to your computer.

cd pact-broker-docker

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker run --rm -it --entrypoint /bin/sh docker.pactflow.io/pactfoundation/pact-broker:latest -c 'uname -sm'

Runs the built image as an actual container.

docker compose -f docker-compose-clean.yml up pact-broker

Runs the command against the services defined in the compose file.

docker compose -f docker-compose-clean.yml up clean

Runs the command against the services defined in the compose file.

docker run --rm \

Runs the built image as an actual container.

docker.pactflow.io/pactfoundation/pact-broker

Type this command into your terminal and run it.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

3. Ruby

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Ruby Ruby is required to use the bundle command.
bundle install

Installs the Ruby libraries listed in the Gemfile.

βœ… If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
// repository documentation