blob: 68bb3d0b47b8b06cb91ce37700c6988b8ce3f0dd [file] [log] [blame]
fkrzywkacbf9e252018-06-05 12:17:31 +02001version: "2"
2services:
3 zookeeper:
4 image: wurstmeister/zookeeper
5 ports:
6 - "2181:2181"
7 kafka:
8 image: wurstmeister/kafka
9 ports:
10 - "9092:9092"
11 environment:
12 HOSTNAME_COMMAND: "route -n | awk '/UG[ \t]/{print $$2}'"
13 KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
14 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
15 volumes:
16 - /var/run/docker.sock:/var/run/docker.sock
17 depends_on:
18 - zookeeper
19 hv-collector:
20 build:
21 context: hv-collector-main
22 dockerfile: Dockerfile
23 ports:
Jakub Dudycz85439492018-06-08 12:57:13 +020024 - "6061:6061/tcp"
fkrzywkacbf9e252018-06-05 12:17:31 +020025 depends_on:
26 - kafka
Jakub Dudycz85439492018-06-08 12:57:13 +020027 volumes:
28 - /etc/ves-hv/:/etc/ves-hv/
fkrzywkacbf9e252018-06-05 12:17:31 +020029 xnf-simulator:
30 build:
31 context: hv-collector-client-simulator
Jakub Dudycz85439492018-06-08 12:57:13 +020032 dockerfile: Dockerfile
33 depends_on:
34 - hv-collector
35 volumes:
36 - /etc/ves-hv/:/etc/ves-hv/