You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2017/10/27 13:11:14 UTC
ambari git commit: AMBARI-22314. Log Search: Add docker-compose file
for creating ZooKeeper containers (oleewere)
Repository: ambari
Updated Branches:
refs/heads/trunk 793ffebc8 -> 4103b87e9
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/trunk
Commit: 4103b87e9d854311827f49525c7b1076771e2aa9
Parents: 793ffeb
Author: Oliver Szabo <ol...@gmail.com>
Authored: Thu Oct 26 14:35:18 2017 +0200
Committer: Oliver Szabo <ol...@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