blob: d98971ba05c91bbfb92e3eb4abcf8589a8987686 [file] [log] [blame]
fkrzywkacbf9e252018-06-05 12:17:31 +02001version: "2"
2services:
Piotr Jaszczyk67689402018-06-14 09:48:46 +02003
fkrzywkacbf9e252018-06-05 12:17:31 +02004 zookeeper:
5 image: wurstmeister/zookeeper
6 ports:
7 - "2181:2181"
Piotr Jaszczyk67689402018-06-14 09:48:46 +02008
fkrzywkacbf9e252018-06-05 12:17:31 +02009 kafka:
10 image: wurstmeister/kafka
11 ports:
12 - "9092:9092"
13 environment:
Piotr Jaszczyk7c3b5952018-06-08 16:29:31 +020014 KAFKA_ADVERTISED_HOST_NAME: "kafka"
fkrzywkacbf9e252018-06-05 12:17:31 +020015 KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
Piotr Jaszczyk7c3b5952018-06-08 16:29:31 +020016 KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
17 KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092"
fkrzywkacbf9e252018-06-05 12:17:31 +020018 volumes:
19 - /var/run/docker.sock:/var/run/docker.sock
20 depends_on:
21 - zookeeper
Piotr Jaszczyk67689402018-06-14 09:48:46 +020022
Jakub Dudycz553154a2018-06-15 16:09:41 +020023 consul:
24 image: progrium/consul
25 ports:
26 - "8500:8500"
27 environment:
28 - CONSUL_BIND_INTERFACE=eth0
29 command: ["-server", "-bootstrap", "-ui-dir", "/ui"]
30
Piotr Jaszczyk67689402018-06-14 09:48:46 +020031 ves-hv-collector:
32 image: onap/ves-hv-collector
33# build:
34# context: hv-collector-main
35# dockerfile: Dockerfile
fkrzywkacbf9e252018-06-05 12:17:31 +020036 ports:
Jakub Dudycz85439492018-06-08 12:57:13 +020037 - "6061:6061/tcp"
fkrzywkacbf9e252018-06-05 12:17:31 +020038 depends_on:
39 - kafka
Jakub Dudycz553154a2018-06-15 16:09:41 +020040 - consul
Jakub Dudycz85439492018-06-08 12:57:13 +020041 volumes:
Piotr Jaszczyk07bbbf72018-06-07 11:52:16 +020042 - ./ssl/:/etc/ves-hv/
Piotr Jaszczyk67689402018-06-14 09:48:46 +020043
44 xnf-simulator:
45 image: onap/ves-hv-collector-client-simulator
46# build:
47# context: hv-collector-client-simulator
48# dockerfile: Dockerfile
49 ports:
50 - "8000:5000/tcp"
Jakub Dudycz85439492018-06-08 12:57:13 +020051 depends_on:
Piotr Jaszczyk67689402018-06-14 09:48:46 +020052 - ves-hv-collector
Jakub Dudycz85439492018-06-08 12:57:13 +020053 volumes:
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +020054 - ./ssl/:/etc/ves-hv/
Piotr Jaszczyk67689402018-06-14 09:48:46 +020055
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +020056 dcae-app-simulator:
Piotr Jaszczyk67689402018-06-14 09:48:46 +020057 image: onap/ves-hv-collector-dcae-simulator
58# build:
59# context: hv-collector-dcae-app-simulator
60# dockerfile: Dockerfile
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +020061 ports:
Piotr Jaszczyk67689402018-06-14 09:48:46 +020062 - "8100:5000/tcp"
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +020063 depends_on:
64 - kafka