-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.testing.yml
67 lines (62 loc) · 1.28 KB
/
docker-compose.testing.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
services:
zap:
profiles:
- tools
build:
context: zap
lpa-codes-pact-mock:
image: pactfoundation/pact-cli:latest-multi
ports:
- 1234:80
command:
- mock-service
- -p
- "80"
- --host
- "0.0.0.0"
- --pact-dir
- /tmp/pacts
- --consumer
- use_a_lasting_power_of_attorney
- --provider
- lpa-codes
volumes:
- ./service-api/app/test/pacts:/tmp/pacts
api-gateway-pact-mock:
image: pactfoundation/pact-cli:latest-multi
command:
- mock-service
- -p
- "80"
- --host
- "0.0.0.0"
- --pact-dir
- /tmp/pacts
- --consumer
- use_a_lasting_power_of_attorney
- --provider
- api-gateway
volumes:
- ./service-api/app/test/pacts:/tmp/pacts
iap-images-mock:
image: pactfoundation/pact-cli:latest-multi
command:
- mock-service
- -p
- "80"
- --host
- "0.0.0.0"
- --pact-dir
- /tmp/pacts
- --consumer
- use_a_lasting_power_of_attorney
- --provider
- iap-api-gateway
volumes:
- ./service-api/app/test/pacts:/tmp/pacts
api-app:
image: api-app
depends_on:
- lpa-codes-pact-mock
- api-gateway-pact-mock
- iap-images-mock