Update docker-compose.yml (#6116)

* rename master and service in docker-compose.yml

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update docker-compose.yml

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
Cai Yudong 2021-06-25 15:52:10 +08:00 committed by GitHub
parent 73996aba91
commit dc63d82595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,10 +41,9 @@ services:
command: ["milvus", "run", "rootcoord"] command: ["milvus", "run", "rootcoord"]
environment: environment:
ETCD_ENDPOINTS: etcd:2379 ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000
PULSAR_ADDRESS: pulsar://pulsar:6650 PULSAR_ADDRESS: pulsar://pulsar:6650
DATA_SERVICE_ADDRESS: datacoord:13333 ROOT_COORD_ADDRESS: rootcoord:53100
INDEX_SERVICE_ADDRESS: indexcoord:31000
QUERY_SERVICE_ADDRESS: querycoord:19531
depends_on: depends_on:
- "etcd" - "etcd"
- "pulsar" - "pulsar"
@ -58,11 +57,8 @@ services:
command: ["milvus", "run", "proxy"] command: ["milvus", "run", "proxy"]
environment: environment:
ETCD_ENDPOINTS: etcd:2379 ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000
PULSAR_ADDRESS: pulsar://pulsar:6650 PULSAR_ADDRESS: pulsar://pulsar:6650
MASTER_ADDRESS: master:53100
DATA_SERVICE_ADDRESS: datacoord:13333
INDEX_SERVICE_ADDRESS: indexcoord:31000
QUERY_SERVICE_ADDRESS: querycoord:19531
ports: ports:
- "19530:19530" - "19530:19530"
networks: networks:
@ -73,8 +69,10 @@ services:
image: milvusdb/milvus:latest image: milvusdb/milvus:latest
command: ["milvus", "run", "querycoord"] command: ["milvus", "run", "querycoord"]
environment: environment:
MASTER_ADDRESS: master:53100 ETCD_ENDPOINTS: etcd:2379
DATA_SERVICE_ADDRESS: datacoord:13333 MINIO_ADDRESS: minio:9000
PULSAR_ADDRESS: pulsar://pulsar:6650
QUERY_COORD_ADDRESS: querycoord:19531
depends_on: depends_on:
- "etcd" - "etcd"
- "pulsar" - "pulsar"
@ -87,12 +85,9 @@ services:
image: milvusdb/milvus:latest image: milvusdb/milvus:latest
command: ["milvus", "run", "querynode"] command: ["milvus", "run", "querynode"]
environment: environment:
ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000 MINIO_ADDRESS: minio:9000
PULSAR_ADDRESS: pulsar://pulsar:6650 PULSAR_ADDRESS: pulsar://pulsar:6650
MASTER_ADDRESS: master:53100
DATA_SERVICE_ADDRESS: datacoord:13333
INDEX_SERVICE_ADDRESS: indexcoord:31000
QUERY_SERVICE_ADDRESS: querycoord:19531
depends_on: depends_on:
- "querycoord" - "querycoord"
networks: networks:
@ -105,7 +100,8 @@ services:
environment: environment:
ETCD_ENDPOINTS: etcd:2379 ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000 MINIO_ADDRESS: minio:9000
MASTER_ADDRESS: master:53100 PULSAR_ADDRESS: pulsar://pulsar:6650
INDEX_COORD_ADDRESS: indexcoord:31000
depends_on: depends_on:
- "etcd" - "etcd"
- "pulsar" - "pulsar"
@ -118,8 +114,10 @@ services:
image: milvusdb/milvus:latest image: milvusdb/milvus:latest
command: ["milvus", "run", "indexnode"] command: ["milvus", "run", "indexnode"]
environment: environment:
ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000 MINIO_ADDRESS: minio:9000
INDEX_SERVICE_ADDRESS: indexcoord:31000 PULSAR_ADDRESS: pulsar://pulsar:6650
INDEX_COORD_ADDRESS: indexcoord:31000
depends_on: depends_on:
- "indexcoord" - "indexcoord"
networks: networks:
@ -133,7 +131,7 @@ services:
ETCD_ENDPOINTS: etcd:2379 ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000 MINIO_ADDRESS: minio:9000
PULSAR_ADDRESS: pulsar://pulsar:6650 PULSAR_ADDRESS: pulsar://pulsar:6650
MASTER_ADDRESS: master:53100 DATA_COORD_ADDRESS: datacoord:13333
depends_on: depends_on:
- "etcd" - "etcd"
- "pulsar" - "pulsar"
@ -149,8 +147,6 @@ services:
ETCD_ENDPOINTS: etcd:2379 ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000 MINIO_ADDRESS: minio:9000
PULSAR_ADDRESS: pulsar://pulsar:6650 PULSAR_ADDRESS: pulsar://pulsar:6650
MASTER_ADDRESS: master:53100
DATA_SERVICE_ADDRESS: datacoord:13333
depends_on: depends_on:
- "datacoord" - "datacoord"
networks: networks: