jiazhai commented on a change in pull request #701: ISSUE-#328: add a Docker 
Compose example file
URL: https://github.com/apache/bookkeeper/pull/701#discussion_r154556572
 
 

 ##########
 File path: docker/docker-compose.yml
 ##########
 @@ -0,0 +1,28 @@
+version: '2'
+
+services:
+  zookeeper:
+    image: zookeeper
+    hostname: zookeeper
+    ports:
+      - "2181:2181"
+  bookkeeper:
+    image: apache/bookkeeper
+    build: .
+    depends_on:
+      - zookeeper
+    links:
+      - zookeeper
+    environment:
+      - JAVA_HOME=/usr/lib/jvm/jre-1.8.0
+      - BK_zkServers=zookeeper:2181
+      - BK_zkLedgersRootPath = /ledgers
+  dice:
+    image: caiok/bookkeeper-tutorial
+    depends_on:
 
 Review comment:
   see above comments, need more work on 'depends_on'

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to