mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 21:39:19 +08:00
bbfcbbdd68
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
169 lines
4.9 KiB
YAML
169 lines
4.9 KiB
YAML
version: '3.5'
|
|
|
|
services:
|
|
master:
|
|
image: ${TARGET_REPO}/master:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/masterservice/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/master:${SOURCE_TAG}
|
|
environment:
|
|
PULSAR_ADDRESS: ${PULSAR_ADDRESS}
|
|
ETCD_ADDRESS: ${ETCD_ADDRESS}
|
|
INDEX_SERVICE_ADDRESS: ${INDEX_SERVICE_ADDRESS}
|
|
DATA_SERVICE_ADDRESS: ${DATA_SERVICE_ADDRESS}
|
|
QUERY_SERVICE_ADDRESS: ${QUERY_SERVICE_ADDRESS}
|
|
PROXY_SERVICE_ADDRESS: ${PROXY_SERVICE_ADDRESS}
|
|
networks:
|
|
- milvus
|
|
|
|
proxyservice:
|
|
image: ${TARGET_REPO}/proxyservice:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/proxyservice/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/proxyservice:${SOURCE_TAG}
|
|
environment:
|
|
PULSAR_ADDRESS: ${PULSAR_ADDRESS}
|
|
networks:
|
|
- milvus
|
|
|
|
proxynode:
|
|
image: ${TARGET_REPO}/proxynode:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/proxynode/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/proxynode:${SOURCE_TAG}
|
|
environment:
|
|
ETCD_ADDRESS: ${ETCD_ADDRESS}
|
|
PULSAR_ADDRESS: ${PULSAR_ADDRESS}
|
|
MASTER_ADDRESS: ${MASTER_ADDRESS}
|
|
PROXY_NODE_HOST: ${PROXY_NODE_HOST}
|
|
PROXY_SERVICE_ADDRESS: ${PROXY_SERVICE_ADDRESS}
|
|
INDEX_SERVICE_ADDRESS: ${INDEX_SERVICE_ADDRESS}
|
|
DATA_SERVICE_ADDRESS: ${DATA_SERVICE_ADDRESS}
|
|
QUERY_SERVICE_ADDRESS: ${QUERY_SERVICE_ADDRESS}
|
|
|
|
networks:
|
|
- milvus
|
|
|
|
queryservice:
|
|
image: ${TARGET_REPO}/queryservice:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/queryservice/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/queryservice:${SOURCE_TAG}
|
|
environment:
|
|
MASTER_ADDRESS: ${MASTER_ADDRESS}
|
|
DATA_SERVICE_ADDRESS: ${DATA_SERVICE_ADDRESS}
|
|
networks:
|
|
- milvus
|
|
|
|
querynode1:
|
|
image: ${TARGET_REPO}/querynode:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/querynode/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/querynode:${SOURCE_TAG}
|
|
environment:
|
|
PULSAR_ADDRESS: ${PULSAR_ADDRESS}
|
|
MASTER_ADDRESS: ${MASTER_ADDRESS}
|
|
MINIO_ADDRESS: ${MINIO_ADDRESS}
|
|
DATA_SERVICE_ADDRESS: ${DATA_SERVICE_ADDRESS}
|
|
INDEX_SERVICE_ADDRESS: ${INDEX_SERVICE_ADDRESS}
|
|
QUERY_SERVICE_ADDRESS: ${QUERY_SERVICE_ADDRESS}
|
|
# QUERY_NODE_HOST: ${QUERY_NODE_HOST1}
|
|
networks:
|
|
- milvus
|
|
|
|
querynode2:
|
|
image: ${TARGET_REPO}/querynode:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/querynode/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/querynode:${SOURCE_TAG}
|
|
environment:
|
|
PULSAR_ADDRESS: ${PULSAR_ADDRESS}
|
|
MASTER_ADDRESS: ${MASTER_ADDRESS}
|
|
MINIO_ADDRESS: ${MINIO_ADDRESS}
|
|
DATA_SERVICE_ADDRESS: ${DATA_SERVICE_ADDRESS}
|
|
INDEX_SERVICE_ADDRESS: ${INDEX_SERVICE_ADDRESS}
|
|
QUERY_SERVICE_ADDRESS: ${QUERY_SERVICE_ADDRESS}
|
|
# QUERY_NODE_HOST: ${QUERY_NODE_HOST2}
|
|
networks:
|
|
- milvus
|
|
|
|
datanode:
|
|
image: ${TARGET_REPO}/datanode:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/datanode/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/datanode:${SOURCE_TAG}
|
|
environment:
|
|
PULSAR_ADDRESS: ${PULSAR_ADDRESS}
|
|
ETCD_ADDRESS: ${ETCD_ADDRESS}
|
|
MASTER_ADDRESS: ${MASTER_ADDRESS}
|
|
MINIO_ADDRESS: ${MINIO_ADDRESS}
|
|
DATA_SERVICE_ADDRESS: ${DATA_SERVICE_ADDRESS}
|
|
# DATA_NODE_HOST: ${DATA_NODE_HOST}
|
|
depends_on:
|
|
- "dataservice"
|
|
networks:
|
|
- milvus
|
|
|
|
indexservice:
|
|
image: ${TARGET_REPO}/indexservice:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/indexservice/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/indexservice:${SOURCE_TAG}
|
|
environment:
|
|
MASTER_ADDRESS: ${MASTER_ADDRESS}
|
|
ETCD_ADDRESS: ${ETCD_ADDRESS}
|
|
MINIO_ADDRESS: ${MINIO_ADDRESS}
|
|
networks:
|
|
- milvus
|
|
|
|
indexnode:
|
|
image: ${TARGET_REPO}/indexnode:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/indexnode/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/indexnode:${SOURCE_TAG}
|
|
environment:
|
|
INDEX_SERVICE_ADDRESS: ${INDEX_SERVICE_ADDRESS}
|
|
MINIO_ADDRESS: ${MINIO_ADDRESS}
|
|
INDEX_NODE_HOST: ${INDEX_NODE_HOST}
|
|
depends_on:
|
|
- "indexservice"
|
|
networks:
|
|
- milvus
|
|
|
|
dataservice:
|
|
image: ${TARGET_REPO}/dataservice:${TARGET_TAG}
|
|
build:
|
|
context: ../../../
|
|
dockerfile: build/docker/deploy/dataservice/Dockerfile
|
|
cache_from:
|
|
- ${SOURCE_REPO}/dataservice:${SOURCE_TAG}
|
|
environment:
|
|
PULSAR_ADDRESS: ${PULSAR_ADDRESS}
|
|
ETCD_ADDRESS: ${ETCD_ADDRESS}
|
|
MASTER_ADDRESS: ${MASTER_ADDRESS}
|
|
MINIO_ADDRESS: ${MINIO_ADDRESS}
|
|
networks:
|
|
- milvus
|
|
|
|
|
|
networks:
|
|
milvus:
|