-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathdocker-compose.pocmitigatedeaggregate.yaml
80 lines (79 loc) · 2.2 KB
/
docker-compose.pocmitigatedeaggregate.yaml
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
version: '3.4'
services:
exabgpmonitor:
image: mavromat/exabgp-monitor:latest
container_name: exabgpmonitor
restart: always
networks:
artemis:
comm:
ipv4_address: 1.1.1.11
volumes:
- ./poc_mitigate_deaggregate/configs/exabgp/monitor.conf:/home/config/exabgp.conf
- ./poc_mitigate_deaggregate/custom_exa_entrypoint.sh:/home/entrypoint.sh
exabgproutecommander:
image: mavromat/exabgp-monitor:latest
container_name: exabgproutecommander
restart: always
networks:
artemis:
comm:
ipv4_address: 1.1.1.12
volumes:
- ./poc_mitigate_deaggregate/configs/exabgp/routecommander.conf:/home/config/exabgp.conf
- ./poc_mitigate_deaggregate/route_command_server.py:/opt/exabgp/run/route_command_server.py
- ./poc_mitigate_deaggregate/custom_exa_entrypoint.sh:/home/entrypoint.sh
r03:
image: gobgp:latest
build:
dockerfile: Dockerfile
context: ./poc_mitigate_deaggregate/dockers/gobgp
container_name: r03
restart: always
networks:
comm:
ipv4_address: 1.1.1.13
volumes:
- ./poc_mitigate_deaggregate/configs/gobgp/r03.conf:/etc/gobgp/gobgp.conf
r04:
image: gobgp:latest
build:
dockerfile: Dockerfile
context: ./poc_mitigate_deaggregate/dockers/gobgp
container_name: r04
restart: always
networks:
comm:
ipv4_address: 1.1.1.14
volumes:
- ./poc_mitigate_deaggregate/configs/gobgp/r04.conf:/etc/gobgp/gobgp.conf
r05:
image: gobgp:latest
build:
dockerfile: Dockerfile
context: ./poc_mitigate_deaggregate/dockers/gobgp
container_name: r05
restart: always
networks:
comm:
ipv4_address: 1.1.1.15
volumes:
- ./poc_mitigate_deaggregate/configs/gobgp/r05.conf:/etc/gobgp/gobgp.conf
r06:
image: gobgp:latest
build:
dockerfile: Dockerfile
context: ./poc_mitigate_deaggregate/dockers/gobgp
container_name: r06
restart: always
networks:
comm:
ipv4_address: 1.1.1.16
volumes:
- ./poc_mitigate_deaggregate/configs/gobgp/r06.conf:/etc/gobgp/gobgp.conf
networks:
comm:
ipam:
driver: default
config:
- subnet: 1.1.1.0/24