mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add container name in docker-compose.yml (#5909)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>pull/5913/head
parent
2642415bc3
commit
d0d0260b4c
|
@ -2,18 +2,21 @@ version: '3.5'
|
|||
|
||||
services:
|
||||
etcd:
|
||||
container_name: milvus-etcd
|
||||
image: quay.io/coreos/etcd:latest
|
||||
command: etcd -listen-peer-urls=http://127.0.0.1:2380 -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 -initial-advertise-peer-urls=http://127.0.0.1:2380 --initial-cluster default=http://127.0.0.1:2380
|
||||
networks:
|
||||
- milvus
|
||||
|
||||
pulsar:
|
||||
container_name: milvus-pulsar
|
||||
image: apachepulsar/pulsar:latest
|
||||
command: bin/pulsar standalone
|
||||
networks:
|
||||
- milvus
|
||||
|
||||
minio:
|
||||
container_name: milvus-minio
|
||||
image: minio/minio:RELEASE.2020-12-03T00-03-10Z
|
||||
environment:
|
||||
MINIO_ACCESS_KEY: minioadmin
|
||||
|
@ -28,6 +31,7 @@ services:
|
|||
- milvus
|
||||
|
||||
rootcoord:
|
||||
container_name: milvus-rootcoord
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "rootcoord"]
|
||||
environment:
|
||||
|
@ -44,6 +48,7 @@ services:
|
|||
- milvus
|
||||
|
||||
proxy:
|
||||
container_name: milvus-proxy
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "proxy"]
|
||||
environment:
|
||||
|
@ -59,6 +64,7 @@ services:
|
|||
- milvus
|
||||
|
||||
querycoord:
|
||||
container_name: milvus-querycoord
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "querycoord"]
|
||||
environment:
|
||||
|
@ -72,6 +78,7 @@ services:
|
|||
- milvus
|
||||
|
||||
querynode:
|
||||
container_name: milvus-querynode
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "querynode"]
|
||||
environment:
|
||||
|
@ -87,6 +94,7 @@ services:
|
|||
- milvus
|
||||
|
||||
indexcoord:
|
||||
container_name: milvus-indexcoord
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "indexcoord"]
|
||||
environment:
|
||||
|
@ -101,6 +109,7 @@ services:
|
|||
- milvus
|
||||
|
||||
indexnode:
|
||||
container_name: milvus-indexnode
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "indexnode"]
|
||||
environment:
|
||||
|
@ -112,6 +121,7 @@ services:
|
|||
- milvus
|
||||
|
||||
datacoord:
|
||||
container_name: milvus-datacoord
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "datacoord"]
|
||||
environment:
|
||||
|
@ -127,6 +137,7 @@ services:
|
|||
- milvus
|
||||
|
||||
datanode:
|
||||
container_name: milvus-datanode
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "datanode"]
|
||||
environment:
|
||||
|
|
|
@ -2,12 +2,14 @@ version: '3.5'
|
|||
|
||||
services:
|
||||
etcd:
|
||||
container_name: milvus-etcd
|
||||
image: quay.io/coreos/etcd:latest
|
||||
command: etcd -listen-peer-urls=http://127.0.0.1:2380 -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 -initial-advertise-peer-urls=http://127.0.0.1:2380 --initial-cluster default=http://127.0.0.1:2380
|
||||
networks:
|
||||
- milvus
|
||||
|
||||
minio:
|
||||
container_name: milvus-minio
|
||||
image: minio/minio:RELEASE.2020-12-03T00-03-10Z
|
||||
environment:
|
||||
MINIO_ACCESS_KEY: minioadmin
|
||||
|
@ -22,6 +24,7 @@ services:
|
|||
- milvus
|
||||
|
||||
standalone:
|
||||
container_name: milvus-standalone
|
||||
image: milvusdb/milvus:latest
|
||||
command: ["milvus", "run", "standalone"]
|
||||
environment:
|
||||
|
|
|
@ -28,7 +28,7 @@ $ MILVUS_CONFIG_FILE=/path/to/milvus/configs/milvus.yaml milvus run rootcoord
|
|||
`server type`:指定执行程序的类型。`server type` 有:
|
||||
|
||||
* `rootcoord`
|
||||
* `proxynode`
|
||||
* `proxy`
|
||||
* `querycoord`
|
||||
* `querynode`
|
||||
* `datacoord`
|
||||
|
|
Loading…
Reference in New Issue