From 3d46e84d973f47f1469c95ce6cb59f03018662f3 Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Thu, 3 Aug 2023 17:15:24 +0200 Subject: [PATCH] update docker compose as an example --- docker-compose.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 3958037ba..2b2de7e53 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,3 +35,25 @@ services: image: elkozmon/zoonavigator ports: - 9000:9000 + +# Meilisearch instances + m1: + container_name: m1 + hostname: m1 + image: getmeili/meilisearch:prototype-zookeeper-ha-0 + ports: + - 7700:7700 + environment: + - MEILI_ZK_URL=zk1:2181 + - MEILI_MASTER_KEY=masterkey + restart: always + m2: + container_name: m2 + hostname: m2 + image: getmeili/meilisearch:prototype-zookeeper-ha-0 + ports: + - 7701:7700 + environment: + - MEILI_ZK_URL=zk2:2181 + - MEILI_MASTER_KEY=masterkey + restart: always \ No newline at end of file