-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
62 lines (57 loc) · 1.53 KB
/
docker-compose.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
version: '3'
services:
mongo:
container_name: mongodb
image: mongo:3.2.19
volumes:
- ~/data:/data
ports:
- 27017:27017
save4Later:
container_name: save4Later
image: openjdk:8
depends_on:
- mongo
volumes:
- .:/usr/save4Later
working_dir: /
ports:
- "9272:9272"
network_mode: "host"
command: bash -c "java -jar /usr/save4Later/jars/pactstubber.jar --port 9272 --source /usr/save4Later/pacts/myPact.json"
pdfGenerator:
container_name: pdfGenerator
image: openjdk:8
depends_on:
- mongo
volumes:
- .:/usr/pdfGenerator
working_dir: /
ports:
- "9852:9852"
network_mode: "host"
command: bash -c "java -jar /usr/pdfGenerator/jars/pactstubber.jar --port 9852 --source /usr/pdfGenerator/pacts/myPact.json"
file_upload:
container_name: file_upload
image: openjdk:8
depends_on:
- mongo
volumes:
- .:/usr/file_upload
working_dir: /
ports:
- "8899:8899"
network_mode: "host"
command: bash -c "java -jar /usr/file_upload/jars/pactstubber.jar --port 8899 --source /usr/file_upload/pacts/myPact.json"
file_upload_interceptor:
container_name: file_upload_interceptor
image: openjdk:8
depends_on:
- mongo
volumes:
- .:/usr/file_upload_interceptor
working_dir: /
ports:
- "9196:9196"
network_mode: "host"
command: bash -c "java -jar /usr/file_upload_interceptor/jars/pactstubber.jar --port 9196 --source /usr/file_upload_interceptor/pacts/myPact.json"