blob: 8db767c80563913286fdbb3272950ec2604da630 [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:
Piotr Jaszczyk7c3b5952018-06-08 16:29:31 +020012 KAFKA_ADVERTISED_HOST_NAME: "kafka"
fkrzywkacbf9e252018-06-05 12:17:31 +020013 KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
Piotr Jaszczyk7c3b5952018-06-08 16:29:31 +020014 KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
15 KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092"
fkrzywkacbf9e252018-06-05 12:17:31 +020016 volumes:
17 - /var/run/docker.sock:/var/run/docker.sock
18 depends_on:
19 - zookeeper
Piotr Jaszczyk7c3b5952018-06-08 16:29:31 +020020 veshvcollector:
fkrzywkacbf9e252018-06-05 12:17:31 +020021 build:
22 context: hv-collector-main
23 dockerfile: Dockerfile
24 ports:
Jakub Dudycz85439492018-06-08 12:57:13 +020025 - "6061:6061/tcp"
fkrzywkacbf9e252018-06-05 12:17:31 +020026 depends_on:
27 - kafka
Jakub Dudycz85439492018-06-08 12:57:13 +020028 volumes:
Piotr Jaszczyk07bbbf72018-06-07 11:52:16 +020029 - ./ssl/:/etc/ves-hv/
Piotr Jaszczyk7c3b5952018-06-08 16:29:31 +020030 xnfsimulator:
fkrzywkacbf9e252018-06-05 12:17:31 +020031 build:
32 context: hv-collector-client-simulator
Jakub Dudycz85439492018-06-08 12:57:13 +020033 dockerfile: Dockerfile
34 depends_on:
Piotr Jaszczyk7c3b5952018-06-08 16:29:31 +020035 - veshvcollector
Jakub Dudycz85439492018-06-08 12:57:13 +020036 volumes:
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +020037 - ./ssl/:/etc/ves-hv/
38 dcae-app-simulator:
39 build:
40 context: hv-collector-dcae-app-simulator
41 dockerfile: Dockerfile
42 ports:
43 - "8080:8080/tcp"
44 depends_on:
45 - kafka