Skip to content

Commit

Permalink
refactor: change infrastructure directory
Browse files Browse the repository at this point in the history
  • Loading branch information
iannsantos committed Jun 8, 2020
1 parent a02229d commit 06645cf
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions infrastructure/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: '3'

services:
# Postgres and pact-broker settings were copied from https://github.com/DiUS/pact_broker-docker/blob/master/docker-compose.yml
postgres:
image: postgres:10.5
healthcheck:
test: psql postgres --command "select 1" -U postgres
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: postgres
pact_broker:
image: dius/pact-broker:2.27.2-1
ports:
- "80:80"
links:
- postgres
environment:
PACT_BROKER_DATABASE_USERNAME: postgres
PACT_BROKER_DATABASE_PASSWORD: password
PACT_BROKER_DATABASE_HOST: postgres
PACT_BROKER_DATABASE_NAME: postgres
PACT_BROKER_WEBHOOK_SCHEME_WHITELIST: http https

0 comments on commit 06645cf

Please sign in to comment.