pact-broker-docker
Dockerized Pact Broker
File Explorer
Download Latest Version (.zip)- audit.yml
- issue-comment-created.yml
- release_image.yml
- smartbear-issue-label-added.yml
- test.yml
- trigger_pact_docs_update.yml
- update_gems.yml
- dependabot.yml
- ISSUE_TEMPLATE.md
- pact_broker.yml
- postgres-entrypoint.sh
- common.yaml
- README.md
- test.yaml
- common.yaml
- prod.yaml
- test.yaml
- uat.yaml
- template.yaml
- common.yaml
- prod.yaml
- test.yaml
- uat.yaml
- template.yaml
- deploy_cfn.sh
- docker-compose.yaml
- README.md
- README.md
- puma.rb
- .gitkeep
- db-migrate.sh
- db-version.sh
- .gitkeep
- .ruby-version
- basic_auth.rb
- clean.sh
- config.ru
- custom_env_loader.rb
- docker_configuration.rb
- entrypoint.sh
- Gemfile
- Gemfile.lock
- pact_broker_resource_access_policy.rb
- Rakefile
- resource_access_rules.rb
- build.sh
- env.sh
- generate-changelog.sh
- next-docker-tag.sh
- audit.sh
- docker-build.sh
- docker-login.sh
- docker-prepare.sh
- docker-push.sh
- docker-scan.sh
- git-configure.sh
- git-push.sh
- image-scan.sh
- prepare-release.sh
- run.sh
- set-env-vars.sh
- validate.sh
- foo-bar.json
- publish.sh
- detect-changes.sh
- git-commit-and-push-gemfile.sh
- update-gems.sh
- .trivyignore
- build.sh
- dispatch-gem-released.sh
- docker-functions
- functions
- manual_push.sh
- publish.sh
- release.sh
- scan-inside-docker-container.sh
- scan.sh
- spec.sh
- test.sh
- trigger-release.sh
- update.sh
- basic_auth_spec.rb
- docker_configuration_spec.rb
- nginx-selfsigned.crt
- nginx-selfsigned.key
- nginx.conf
- Dockerfile
- foo-bar.json
- test.sh
- .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 RecommendedPrerequisites
- 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
EasyPrerequisites
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
Was this content helpful?
(0 ratings)
