- vearch base compile environment image address: https://hub.docker.com/r/vearch/vearch-dev-env/tags
- vearch deploy image address: https://hub.docker.com/r/vearch/vearch/tags
- If deploying a docker start vearch, master, ps, and router start together
cp vearch/config/config.toml .
nohup docker run -p 8817:8817 -p 9001:9001 -v $PWD/config.toml:/vearch/config.toml vearch/vearch:latest all &
- If distributed deploy, modify
vearch/config/config.toml
and start separately. - Modify
vearch/config/config.toml
, refer to the stepLocal Model
- Start separate image, modify step 1
all
tomaster
andps
androuter
, master image must first start
- take
vearch-dev-env:latest
as an example docker build -f cloud/Dockerfile -t vearch/vearch:latest .
- reference Use vearch image deploy step 3
- build compile base environment image
- go to
$vearch/cloud/env
dir - run
docker build -t vearch/vearch-dev-env:latest .
you will get an image named vearch-dev-env
- go to
- build vearch image
run
docker build -f cloud/Dockerfile -t vearch/vearch:latest .
you will get an image named vearch good luck - how to use it
- you can use
docker run -it -v config.toml:/vearch/config.toml vearch all
to start vearch by local model the last param has four types [ps, router, master, all] all means tree type to start
- you can use
- One-click build vearch image
- go to
$vearch/cloud
dir - you can run
./run_docker.sh
- go to