diff options
-rw-r--r-- | hv-collector-client-simulator/docker-compose.yml | 16 | ||||
-rw-r--r-- | hv-collector-main/Dockerfile | 4 |
2 files changed, 20 insertions, 0 deletions
diff --git a/hv-collector-client-simulator/docker-compose.yml b/hv-collector-client-simulator/docker-compose.yml new file mode 100644 index 00000000..e26478ff --- /dev/null +++ b/hv-collector-client-simulator/docker-compose.yml @@ -0,0 +1,16 @@ +version: '2' +services: + zookeeper: + image: wurstmeister/zookeeper + ports: + - "2181:2181" + kafka: + image: wurstmeister/kafka + ports: + - "9092:9092" + environment: + HOSTNAME_COMMAND: "route -n | awk '/UG[ \t]/{print $$2}'" + KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true' + KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 + volumes: + - /var/run/docker.sock:/var/run/docker.sock
\ No newline at end of file diff --git a/hv-collector-main/Dockerfile b/hv-collector-main/Dockerfile index fd7ce21c..84ffb437 100644 --- a/hv-collector-main/Dockerfile +++ b/hv-collector-main/Dockerfile @@ -1,4 +1,8 @@ FROM openjdk:10-jre-slim + +LABEL copyright="Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved." +LABEL license.name="The Apache Software License, Version 2.0" +LABEL license.url="http://www.apache.org/licenses/LICENSE-2.0" LABEL maintainer="Nokia Wroclaw ONAP Team" EXPOSE 8081 |