PS4M example for local setup - #580
Open
olexandr-havryliak wants to merge 1 commit into
Open
Conversation
olexandr-havryliak
requested review from
keithquinnpercona and
sandraromanchenko
as code owners
July 14, 2026 08:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a complete local development stack for Percona Search for MongoDB (PS4M), using Docker Compose. It provides a single-node replica set of Percona Server for MongoDB (
mongod) and amongotservice for search functionality, along with all necessary configuration, secrets, and a comprehensive README with usage instructions and examples.The most important changes are:
Docker Compose Stack and Service Initialization
docker-compose.ymlto definemongodandmongotservices, including initialization logic for replica set, user creation, health checks, and service dependencies. Data is persisted in Docker volumes.Configuration and Secrets
config/mongod.confandconfig/mongot.ymlfor service configuration, enabling authentication, replica set, gRPC search, and proper service wiring. [1] [2]config/keyfilefor internal authentication between services.Documentation and Usage Examples
README.mdexplaining prerequisites, setup, connection instructions, and troubleshooting. Includes step-by-step examples for full-text and vector search, with ready-to-runmongoshsnippets.These changes together provide a ready-to-use local environment for experimenting with Percona Search for MongoDB, including both text and vector search capabilities.