Sha256: 6c553aec5f43cc9e94aa781e77a2eb3d2c6ce3cbc44521f9f01b23479c1cf5a3

Contents?: true

Size: 1.24 KB

Versions: 18

Compression:

Stored size: 1.24 KB

Contents

version: "3"

services:
  postgres:
    image: postgres
    healthcheck:
      test: psql postgres --command "select 1" -U postgres
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: password
      POSTGRES_DB: postgres

  pact-broker:
    image: pactfoundation/pact-broker:2.76.0.0
    ports:
      - "9292:9292"
    # depends_on:
    #   - postgres
    environment:
      PACT_BROKER_PORT: '9292'
      #PACT_BROKER_DATABASE_URL: "postgres://postgres:password@postgres/postgres"
      PACT_BROKER_DATABASE_URL: "sqlite:////tmp/pact_broker.sqlite3"
      PACT_BROKER_LOG_LEVEL: INFO
      PACT_BROKER_SQL_LOG_LEVEL: DEBUG
      PACT_BROKER_WEBHOOK_SCHEME_WHITELIST: "http https"
      PACT_BROKER_WEBHOOK_HOST_WHITELIST: "/.*/"

  repro-issue:
    build: .
    depends_on:
      - pact-broker
    command: -wait http://pact-broker:9292 -timeout 30s /home/script/reproduce-issue.rb
    entrypoint: dockerize
    environment:
      - PACT_BROKER_BASE_URL=http://pact-broker:9292
    volumes:
      - $PWD:/home
    working_dir: /home

  webhook-server:
    build: .
    entrypoint: ["/bin/sh", "-c", "bundle exec rackup -p 9393 -o 0.0.0.0 /home/script/webhook-server.ru"]
    volumes:
      - ./script/webhook-server.ru:/home/script/webhook-server.ru

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pact_broker-2.89.1 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.89.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.88.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.87.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.86.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.85.1 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.85.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.84.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.83.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.82.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.81.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.80.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.79.1 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.79.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.78.1 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.78.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.77.0 docker-compose-issue-repro-with-pact-broker-docker-image.yml
pact_broker-2.76.2 docker-compose-issue-repro-with-pact-broker-docker-image.yml