Services launch#
This section gives examples for launching LVSM containers.
The sequence of launching LVSM services is as follows:
To launch LVSM services, the LP 5 must be deployed.
It is recommended to launch containers one by one and wait for the container status to become "up" (use the
docker pscommand).
When launching each service, certain parameters are used, for example, --detach, --network, etc.
See the "Docker commands" section for details about working with containers.
Qdrant container launch#
Use the following command to start the database:
docker run \
--env=QDRANT__SERVICE__GRPC_PORT=6334 \
--env=QDRANT__SERVICE__HTTP_PORT=6333 \
--env=QDRANT__CLUSTER__P2P__PORT=6335 \
-v /var/lib/luna/qdrant_storage:/qdrant/storage \
-v /var/lib/luna/lvsm-current/example-docker/configs/qdrant_config.yaml:/qdrant/config/config.yaml \
--name qdrant \
--restart=always \
--detach=true \
--network=host \
dockerhub.visionlabs.ru/luna/qdrant:v.1.14.0
Python Matcher proxy container launch#
Use the following command to launch the service:
docker run \
--env=CONFIGURATOR_HOST=127.0.0.1 \
--env=CONFIGURATOR_PORT=5070 \
--env=PORT=5110 \
--env=WORKER_COUNT=1 \
--env=RELOAD_CONFIG=1 \
--env=RELOAD_CONFIG_INTERVAL=10 \
--env=SERVICE_TYPE="proxy" \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/logs/python-matcher-proxy:/srv/logs \
--name=luna-python-matcher-proxy \
--restart=always \
--detach=true \
--network=host \
dockerhub.visionlabs.ru/luna/luna-python-matcher:v.1.20.6
LUNA Vector Search Module container launch#
Use the following command to launch the service:
docker run \
--env=CONFIGURATOR_HOST=127.0.0.1 \
--env=CONFIGURATOR_PORT=5070 \
--env=PORT=5280 \
--env=NUM_THREADS=1 \
--env=RELOAD_CONFIG=1 \
--env=RELOAD_CONFIG_INTERVAL=10 \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/logs/luna-vector-search-module:/srv/logs \
--name luna-vector-search-module \
--restart=always \
--detach=true \
--network=host \
dockerhub.visionlabs.ru/luna/luna-vector-search-module:v.0.0.3