Skip to content

Instantly share code, notes, and snippets.

@shavo007
Last active May 22, 2017 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shavo007/6660cd3230188a094b5d7d3e0647d769 to your computer and use it in GitHub Desktop.
Save shavo007/6660cd3230188a094b5d7d3e0647d769 to your computer and use it in GitHub Desktop.
docker compose for pact broker
version: '2'
services:
postgres:
image: shanelee007/docker-pact-postgres
environment:
- POSTGRES_PASSWORD=ThePostgresPassword
- POSTGRES_USER=admin
ports:
- "5433:5432"
pact:
image: dius/pact-broker:latest
environment:
- PACT_BROKER_DATABASE_NAME=pactbroker
- PACT_BROKER_DATABASE_PASSWORD=TheUserPassword
- PACT_BROKER_DATABASE_HOST=postgres
- PACT_BROKER_DATABASE_USERNAME=pactbrokeruser
- PACT_BROKER_BASIC_AUTH_USERNAME=shanelee007
- PACT_BROKER_BASIC_AUTH_PASSWORD=password123
ports:
- "80:80"
depends_on:
- postgres
# entrypoint: ./wait-for-it.sh postgres:5432 -- echo "postgres is up"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment