-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (55 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
57 lines (55 loc) · 1.08 KB
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
# sources: https://docs.docker.com/compose/compose-file/compose-file-v3/
version: "3"
services:
master:
build:
context: .
dockerfile: masterDockerfile
ports:
- "10000:10000"
networks:
- Proj1-distributed-network
client1:
build:
context: .
dockerfile: nodeDockerfile
depends_on:
- master
networks:
- Proj1-distributed-network
client2:
build:
context: .
dockerfile: nodeDockerfile
depends_on:
- master
networks:
- Proj1-distributed-network
client3:
build:
context: .
dockerfile: nodeDockerfile
depends_on:
- master
networks:
- Proj1-distributed-network
client4:
build:
context: .
dockerfile: nodeDockerfile
depends_on:
- master
networks:
- Proj1-distributed-network
wireshark:
build:
context: .
dockerfile: wiresharkDockerfile
network_mode: host
volumes:
- ./captured_traffic:/captured_traffic
cap_add:
- NET_ADMIN
networks:
Proj1-distributed-network:
external: true