forked from FORTH-ICS-INSPIRE/artemis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.pocautoconf.yaml
45 lines (44 loc) · 1.08 KB
/
docker-compose.pocautoconf.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
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_autoconf/configs/exabgp/monitor.conf:/home/config/exabgp.conf
- ./poc_autoconf/custom_exa_entrypoint.sh:/home/entrypoint.sh
r03:
image: gobgp:latest
build:
dockerfile: Dockerfile
context: ./poc_autoconf/dockers/gobgp
container_name: r03
restart: always
networks:
comm:
ipv4_address: 1.1.1.13
volumes:
- ./poc_autoconf/configs/gobgp/r03.conf:/etc/gobgp/gobgp.conf
r04:
image: gobgp:latest
build:
dockerfile: Dockerfile
context: ./poc_autoconf/dockers/gobgp
container_name: r04
restart: always
networks:
comm:
ipv4_address: 1.1.1.14
volumes:
- ./poc_autoconf/configs/gobgp/r04.conf:/etc/gobgp/gobgp.conf
- ./poc_autoconf/add_routes.sh:/add_routes.sh
networks:
comm:
ipam:
driver: default
config:
- subnet: 1.1.1.0/24