-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
93 lines (80 loc) · 2.07 KB
/
docker-compose.yaml
File metadata and controls
93 lines (80 loc) · 2.07 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: "3"
services:
sender:
container_name: sender-10.9.0.2
build:
context: sender/
tty: true
cap_add:
- ALL
networks:
net-10.9.0.0:
ipv4_address: 10.9.0.2
volumes:
- ./volumes:/volumes
command: "python3 sender.py"
depends_on:
- proxy_a
proxy_a:
build:
context: proxy1/
container_name: proxyA-10.9.0.3
tty: true
cap_add:
- ALL
networks:
net-10.9.0.0:
ipv4_address: 10.9.0.3
volumes:
- ./volumes:/volumes
command: "python3 proxy1.py"
depends_on:
- proxy_b
# network_diode:
# build:
# context: network_diode/
# container_name: networkDiode-10.9.0.4
# tty: true
# cap_add:
# - ALL
# networks:
# net-10.9.0.0:
# ipv4_address: 10.9.0.4
# volumes:
# - ./volumes:/volumes
# command: "python3 network_diode.py"
# depends_on:
# - proxy_b
proxy_b:
build:
context: proxy2/
container_name: proxyB-10.9.0.5
tty: true
cap_add:
- ALL
networks:
net-10.9.0.0:
ipv4_address: 10.9.0.5
volumes:
- ./volumes:/volumes
command: "python3 proxy2.py"
depends_on:
- user
user:
build:
context: user/
container_name: endUser-10.9.0.6
tty: true
cap_add:
- ALL
networks:
net-10.9.0.0:
ipv4_address: 10.9.0.6
volumes:
- ./volumes:/volumes
command: "python3 user.py"
networks:
net-10.9.0.0:
ipam:
config:
- subnet: 10.9.0.0/24