mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 09:04:59 +08:00
update docker compose as an example
This commit is contained in:
parent
ad7f8edff8
commit
3d46e84d97
@ -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
|
Loading…
Reference in New Issue
Block a user