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_r154556559
 
 

 ##########
 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
 
 Review comment:
   we may need more work on 'depends_on' here, because it is a simple deploy 
order, but not wait for the service to be ready, please reference 
https://docs.docker.com/compose/startup-order/ for more details.

----------------------------------------------------------------
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