-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
75 lines (70 loc) · 1.5 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
74
75
---
version: '3'
networks:
net-r01:
ipam:
config:
- subnet: 192.168.255.0/24
net-r02:
ipam:
config:
- subnet: 192.168.254.0/24
net-r03:
ipam:
config:
- subnet: 192.168.253.0/24
net-peer:
ipam:
config:
- subnet: 10.0.255.0/24
net-mgmt:
ipam:
config:
- subnet: 192.168.10.0/24
services:
bmpd:
image: osrg/ryu:master
container_name: bmpd
command: ["ryu","run", "--verbose", "./ryu-master/ryu/app/bmpstation"]
networks:
net-mgmt:
ipv4_address: 192.168.10.10
r01:
image: opennms/gobgp:2.9.0
container_name: r01
volumes:
- ./r01/gobgpd.conf:/gobgpd.conf
networks:
net-r01:
ipv4_address: 192.168.255.5
net-peer:
ipv4_address: 10.0.255.5
net-mgmt:
ipv4_address: 192.168.10.5
command: ["-f", "/gobgpd.conf"]
r02:
image: opennms/gobgp:2.9.0
container_name: r02
volumes:
- ./r02/gobgpd.conf:/gobgpd.conf
networks:
net-r02:
ipv4_address: 192.168.254.5
net-peer:
ipv4_address: 10.0.255.6
net-mgmt:
ipv4_address: 192.168.10.6
command: ["-f", "/gobgpd.conf"]
r03:
image: opennms/gobgp:2.9.0
container_name: r03
volumes:
- ./r03/gobgpd.conf:/gobgpd.conf
networks:
net-r03:
ipv4_address: 192.168.253.5
net-peer:
ipv4_address: 10.0.255.7
net-mgmt:
ipv4_address: 192.168.10.7
command: ["-f", "/gobgpd.conf"]