Last active
May 22, 2017 04:52
-
-
Save shavo007/6660cd3230188a094b5d7d3e0647d769 to your computer and use it in GitHub Desktop.
docker compose for pact broker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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