-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
74 lines (67 loc) · 1.51 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
version: '2'
services:
reporter:
image: opentraffic/reporter:latest
networks:
- opentraffic
ports:
- "8003:8003"
volumes:
- ${VALHALLA_DOCKER_DATAPATH}:/data/valhalla
environment:
- MATCHER_LISTEN_PORT=8003
container_name: reporter
zookeeper:
image: wurstmeister/zookeeper:latest
ports:
- "2181:2181"
container_name: zookeeper
kafka:
image: wurstmeister/kafka:latest
ports:
- "9092:9092"
links:
- "zookeeper:zk"
environment:
KAFKA_ADVERTISED_HOST_NAME: 172.17.0.1
KAFKA_ADVERTISED_PORT: 9092
KAFKA_ZOOKEEPER_CONNECT: zk:2181
KAFKA_CREATE_TOPICS: "trace:4:1"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
container_name: kafka
valhalla:
image: valhalla/docker:ppa-1.2.8
ports:
- "8002:8002"
volumes:
- ${VALHALLA_DOCKER_DATAPATH}:/data/valhalla
networks:
- opentraffic
container_name: valhalla
reporterqa:
image: opentraffic/reporter-quality-testing-rig:latest
ports:
- "8888:8888"
volumes:
- ./notebooks:/home/notebooks
- ./data:/home/data
- ./validator:/home/validator
- ~/.plotly:~/.plotly
networks:
- opentraffic
depends_on:
- valhalla
- kafka
- zookeeper
- reporter
links:
- valhalla
- reporter
container_name: reporter-qa
environment:
GOOGLE_MAPS: $GOOGLE_MAPS
MAPZEN_API: $MAPZEN_API
networks:
opentraffic:
driver: bridge