From 2ce8b42757cd5b12735aff567687616e292acca9 Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Wed, 2 Aug 2023 11:59:54 +0200 Subject: [PATCH] =?UTF-8?q?REMOVE:=20add=20docker=20comp=C3=B4se=20for=20t?= =?UTF-8?q?ests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..3958037ba --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,37 @@ +version: "3.9" +services: + zk1: + container_name: zk1 + hostname: zk1 + image: bitnami/zookeeper:3.7.1 + ports: + - 21811:2181 + environment: + - ALLOW_ANONYMOUS_LOGIN=yes + - ZOO_SERVER_ID=1 + - ZOO_SERVERS=0.0.0.0:2888:3888,zk2:2888:3888,zk3:2888:3888 + zk2: + container_name: zk2 + hostname: zk2 + image: bitnami/zookeeper:3.7.1 + ports: + - 21812:2181 + environment: + - ALLOW_ANONYMOUS_LOGIN=yes + - ZOO_SERVER_ID=2 + - ZOO_SERVERS=zk1:2888:3888,0.0.0.0:2888:3888,zk3:2888:3888 + zk3: + container_name: zk3 + hostname: zk3 + image: bitnami/zookeeper:3.7.1 + ports: + - 21813:2181 + environment: + - ALLOW_ANONYMOUS_LOGIN=yes + - ZOO_SERVER_ID=3 + - ZOO_SERVERS=zk1:2888:3888,zk2:2888:3888,0.0.0.0:2888:3888 + zoonavigator: + container_name: zoonavigator + image: elkozmon/zoonavigator + ports: + - 9000:9000