Skip to content

Introduction#

This document describes the installation and usage of Docker Compose for LUNA Vector Search Module (LVSM) deployment.

LVSM is an substantive module, so it should be integrated into LUNA PLATFORM 5 of a similar version already deployed. It is necessary to update the LP if the versions differ.

Docker Compose is used for automated containers deployment. The Docker Compose scenario from this distribution is used for deploying the LVSM services on a single server.

It is considered that installation is performed on the server with Almalinux 9 OS, where LVSM was not installed.

Firewall and SELinux should be manually configured on the server by the administrator. Their configuration is not described in this document.

No data backup is implemented for LVSM data in this installation.

LVSM is deployed using the minimum power operating for demonstration purposes and cannot be used for the production system.

For a successful launch, you need to perform the actions from the sections "Before launch" and "Services launch". The section "Additional information" provides useful information on the description of Docker commands, further steps for performing descriptor matching, etc.

See the "docker-compose.yml" file and other files in the "example-docker" directory for the information about launched services and performed actions.

Additional notes about Docker Compose script. The script:

  • Is tested using the default services configurations.

  • Is not intended to be used for LVSM scaling:

    • It is not used for the deployment of LVSM services on several servers.

    • It is not used for deployment and balancing of several LVSM services on a single service.

  • Does not provide the possibility to use external databases already installed on the server.

You can write your scenario that deploys and configures all the required services. This document does not include information about scenario creation or tutorial for Docker usage. Please refer to the Docker documentation to find more information about Docker and Docker Compose:

https://docs.docker.com

All the provided commands should be executed using the Bash shell (when you launch commands directly on the server) or Putty (when you remotely connect to the server). The provided commands were tested with these utilities only. The use of other shells or emulators can lead to errors when executing commands.