ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mradhakrish...@apache.org
Subject [41/56] [abbrv] ambari git commit: AMBARI-22314. Log Search: Add docker-compose file for creating ZooKeeper containers (oleewere)
Date Mon, 30 Oct 2017 22:36:07 GMT
AMBARI-22314. Log Search: Add docker-compose file for creating ZooKeeper containers (oleewere)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4103b87e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4103b87e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4103b87e

Branch: refs/heads/branch-feature-AMBARI-14714
Commit: 4103b87e9d854311827f49525c7b1076771e2aa9
Parents: 793ffeb
Author: Oliver Szabo <oleewere@gmail.com>
Authored: Thu Oct 26 14:35:18 2017 +0200
Committer: Oliver Szabo <oleewere@gmail.com>
Committed: Fri Oct 27 15:10:41 2017 +0200

----------------------------------------------------------------------
 .../docker/docker-compose-zookeeper.yml         | 40 ++++++++++++++++++++
 1 file changed, 40 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4103b87e/ambari-logsearch/docker/docker-compose-zookeeper.yml
----------------------------------------------------------------------
diff --git a/ambari-logsearch/docker/docker-compose-zookeeper.yml b/ambari-logsearch/docker/docker-compose-zookeeper.yml
new file mode 100644
index 0000000..a41eaf3
--- /dev/null
+++ b/ambari-logsearch/docker/docker-compose-zookeeper.yml
@@ -0,0 +1,40 @@
+version: '3.1'
+services:
+    zoo1:
+        image: zookeeper:3.4.10
+        restart: always
+        hostname: zoo1
+        networks:
+            - logsearch-network
+        ports:
+            - 2181:2181
+        environment:
+            ZOO_MY_ID: 1
+            ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
+
+    zoo2:
+        image: zookeeper:3.4.10
+        restart: always
+        hostname: zoo2
+        networks:
+            - logsearch-network
+        ports:
+            - 2182:2181
+        environment:
+            ZOO_MY_ID: 2
+            ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
+
+    zoo3:
+        image: zookeeper:3.4.10
+        restart: always
+        hostname: zoo3
+        networks:
+            - logsearch-network
+        ports:
+            - 2183:2181
+        environment:
+            ZOO_MY_ID: 3
+            ZOO_SERVERS: server.1=zoo1:2888:3888 server.2=zoo2:2888:3888 server.3=zoo3:2888:3888
+networks:
+     logsearch-network:
+        driver: bridge
\ No newline at end of file


Mime
View raw message