milvus/scripts/run_docker.sh

32 lines
1.3 KiB
Bash
Raw Normal View History

cd ../build/docker/deploy/
echo "starting master docker"
nohup docker-compose -p milvus-distributed up master > ~/master_docker.log 2>&1 &
echo "starting proxyservice docker"
nohup docker-compose -p milvus-distributed up proxyservice > ~/proxyservice_docker.log 2>&1 &
echo "starting proxynode docker"
nohup docker-compose -p milvus-distributed up proxynode > ~/proxynode_docker.log 2>&1 &
echo "starting indexservice docker"
nohup docker-compose -p milvus-distributed up indexservice > ~/indexservice_docker.log 2>&1 &
echo "starting indexnode docker"
nohup docker-compose -p milvus-distributed up indexnode > ~/indexnode_docker.log 2>&1 &
echo "starting queryservice docker"
nohup docker-compose -p milvus-distributed up queryservice > ~/queryservice_docker.log 2>&1 &
echo "starting dataservice docker"
nohup docker-compose -p milvus-distributed up dataservice > ~/dataservice_docker.log 2>&1 &
echo "starting querynode1 docker"
nohup docker-compose -p milvus-distributed run -e QUERY_NODE_ID=1 querynode > ~/querynode1_docker.log 2>&1 &
echo "starting querynode2 docker"
nohup docker-compose -p milvus-distributed run -e QUERY_NODE_ID=2 querynode > ~/querynode2_docker.log 2>&1 &
echo "starting datanode docker"
nohup docker-compose -p milvus-distributed run -e DATA_NODE_ID=3 datanode > ~/datanode_docker.log 2>&1 &