-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
73 lines (73 loc) · 1.8 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
63
64
65
66
67
68
69
70
71
72
73
version: "3"
networks:
extractor_network:
ipam:
config:
- subnet: 172.20.0.0/24
services:
frontend:
image: extractor_frontend
container_name: frontend
hostname: frontend.info.my
ports:
- "4000:4000"
networks:
extractor_network:
ipv4_address: 172.20.0.2
tty: true
volumes:
- ./results:/home/extractor/results
melodic:
image: haros_melodic
container_name: melodic
hostname: melodic.info.my
user: extractor
command: bash -c "sudo service ssh start && bash"
ports:
- "4003:4003"
networks:
extractor_network:
ipv4_address: 172.20.0.3
extra_hosts:
- "frontend.info.my:172.20.0.2"
depends_on:
- frontend
tty: true
volumes:
- "./results:/home/extractor/results:rw"
noetic:
image: haros_noetic
container_name: noetic
hostname: noetic.info.my
user: extractor
command: bash -c "sudo service ssh start && bash"
ports:
- "4004:4004"
networks:
extractor_network:
ipv4_address: 172.20.0.4
extra_hosts:
- "frontend.info.my:172.20.0.2"
depends_on:
- frontend
tty: true
volumes:
- "./results:/home/extractor/results:rw"
foxy:
image: haros_foxy
container_name: foxy
hostname: foxy.info.my
user: extractor
command: bash -c "sudo service ssh start && bash"
ports:
- "4005:4005"
networks:
extractor_network:
ipv4_address: 172.20.0.5
extra_hosts:
- "frontend.info.my:172.20.0.2"
depends_on:
- frontend
tty: true
volumes:
- "./results:/home/extractor/results:rw"