diff options
Diffstat (limited to 'src/main/resources/docker-compose/docker-compose.yml')
-rw-r--r-- | src/main/resources/docker-compose/docker-compose.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/main/resources/docker-compose/docker-compose.yml b/src/main/resources/docker-compose/docker-compose.yml new file mode 100644 index 0000000..20cf977 --- /dev/null +++ b/src/main/resources/docker-compose/docker-compose.yml @@ -0,0 +1,27 @@ +version: '2' +services: + zookeeper: + image: wurstmeister/zookeeper + ports: + - "2181:2181" + kafka: + build: . + ports: + - "9092:9092" + environment: + KAFKA_ADVERTISED_HOST_NAME: 172.18.0.1 + KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 + + volumes: + - /var/run/docker.sock:/var/run/docker.sock + + dmaap: + image: attos/dmaap + ports: + - "3904:3904" + - "3905:3905" + volumes: + - /var/tmp/MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties + depends_on: + - zookeeper + - kafka |