-
-
Notifications
You must be signed in to change notification settings - Fork 177
/
docker-compose-issue-repro.yml
44 lines (40 loc) · 1.25 KB
/
docker-compose-issue-repro.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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.94.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/data/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