Skip to content

Commit

Permalink
Merge pull request #706 from tienvx/replace-pact-broker-docker-image
Browse files Browse the repository at this point in the history
deps: Replace pact broker docker image
  • Loading branch information
tienvx authored Dec 16, 2024
2 parents efac99f + c03016d commit 59e6982
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
postgres:
image: postgres
Expand All @@ -9,12 +7,18 @@ services:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
broker_app:
image: dius/pact-broker
image: pactfoundation/pact-broker
ports:
- "8080:80"
links:
- postgres
- "8080:9292"
depends_on:
postgres:
condition: service_healthy
environment:
PACT_BROKER_DATABASE_USERNAME: postgres
PACT_BROKER_DATABASE_PASSWORD: password
Expand Down

0 comments on commit 59e6982

Please sign in to comment.