-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: change infrastructure directory
- Loading branch information
1 parent
a02229d
commit 06645cf
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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 |