-
-
Notifications
You must be signed in to change notification settings - Fork 405
/
Copy pathdocker-compose.yml
46 lines (43 loc) · 1.09 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
version: '2'
services:
elasticsearch:
image: elasticsearch:5
ports:
- "19200:9200"
- "19300:9300"
environment:
- "discovery.type=single-node"
networks:
- skynet
skydive-analyzer:
image: skydive/skydive
ports:
- "8082:8082"
- "8082:8082/udp"
links:
- elasticsearch
command: analyzer --listen=0.0.0.0:8082
environment:
- SKYDIVE_STORAGE_ELASTICSEARCH_HOST=elasticsearch:9200
- SKYDIVE_ANALYZER_STORAGE_BACKEND=elasticsearch
- SKYDIVE_GRAPH_BACKEND=elasticsearch
- SKYDIVE_ETCD_LISTEN=0.0.0.0:12379
networks:
- skynet
skydive-agent:
image: skydive/skydive
depends_on:
- skydive-analyzer
network_mode: "host"
pid: "host"
command: agent --listen=0.0.0.0:8081
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/netns:/host/run
- /var/run/openvswitch/db.sock:/var/run/openvswitch/db.sock
environment:
- SKYDIVE_AGENT_TOPOLOGY_NETNS_RUN_PATH=/host/run
- SKYDIVE_ANALYZERS=127.0.0.1:8082
networks:
skynet: