-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
56 lines (56 loc) · 1.42 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
version: '2'
services:
ofp_sniffer:
image: ofp_sniffer:dev
command: /bin/bash -c 'python3.6 /opt/ofp_sniffer/ofp_sniffer.py -i lo -S -I'
privileged: true
stdin_open: true
tty: true
build:
context: .
dockerfile: ./Dockerfile.ofp_sniffer
network_mode: host
volumes:
- .:/opt/ofp_sniffer
environment:
PYTHON: /usr/bin/python3.6
depends_on:
- "influxdb"
influxdb:
command: influxd -config /etc/influxdb/influxdb.conf
network_mode: host
image: influxdb:1.3
volumes:
- ./influxdb.conf:/etc/influxdb/influxdb.conf
- /var/lib/influxdb
# - /storage/influxdb:/var/lib/influxdb
ports:
- "8086:8086"
grafana:
image: grafana/grafana:4.3.0
network_mode: host
volumes:
- /var/lib/grafana
# - /storage/grafana:/var/lib/grafana
ports:
- "3000:3000"
depends_on:
- "influxdb"
kytos:
# entrypoint: /usr/bin/python3.6 /usr/local/bin/kytosd -f -w /tmp
command: /bin/bash
image: kytos/tryfirst:latest
privileged: true
tty: true
stdin_open: true
network_mode: host
ports:
- "6633:6633"
mininet:
image: amlight/mininet:dev
# command: /bin/bash -c 'mn --clean; mn --controller=remote,ip=127.0.0.1,port=6633 --topo=linear,4 --switch=ovsk,protocols=OpenFlow10 --mac'
command: /bin/bash
privileged: true
tty: true
stdin_open: true
network_mode: host