diff options
author | Ubuntu <lji@research.att.com> | 2017-02-24 21:19:41 +0000 |
---|---|---|
committer | Ubuntu <lji@research.att.com> | 2017-02-24 21:19:41 +0000 |
commit | 2a392869cb8013245ad4a764363f8fb8e9654de9 (patch) | |
tree | 4d7fbe5a3e74526af9fd84fbf9f5e116ccfa7a9e /docker_files/docker-compose.yml | |
parent | dd7aeafdb1d7596c1e825c7c12b2ab672bba25b9 (diff) |
push another branch
Change-Id: Ibe8c9a38801d10f6c95fd7da4750ee64392a8b1b
Signed-off-by: Ubuntu <lji@research.att.com>
Diffstat (limited to 'docker_files/docker-compose.yml')
-rw-r--r-- | docker_files/docker-compose.yml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/docker_files/docker-compose.yml b/docker_files/docker-compose.yml new file mode 100644 index 0000000..dddf153 --- /dev/null +++ b/docker_files/docker-compose.yml @@ -0,0 +1,50 @@ +version: '2' +services: + zookeeper: + image: wurstmeister/zookeeper + ports: + - "2181:2181" + volumes: + - ./data-zookeeper:/opt/zookeeper-3.4.9/data + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" + + kafka: + build: . + ports: + - "9092:9092" + environment: + #KAFKA_ADVERTISED_HOST_NAME: 172.17.0.1 + KAFKA_ADVERTISED_HOST_NAME: kafka + KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 + KAFKA_BROKER_ID: 1 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ./data-kafka:/kafka + - ./start-kafka.sh:/start-kafka.sh + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" + + dmaap: + image: attos/dmaap + ports: + - "3904:3904" + - "3905:3905" + volumes: + - ./MsgRtrApi.properties:/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties + - ./cadi.properties:/appl/dmaapMR1/etc/cadi.properties + - ./mykey:/appl/dmaapMR1/etc/keyfile + depends_on: + - zookeeper + - kafka + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" |