Skip to content

fix(meilisearch): add Meilisearch community module - #1113

Open
dmi03 wants to merge 1 commit into
testcontainers:mainfrom
dmi03:add-meilisearch
Open

fix(meilisearch): add Meilisearch community module#1113
dmi03 wants to merge 1 commit into
testcontainers:mainfrom
dmi03:add-meilisearch

Conversation

@dmi03

@dmi03 dmi03 commented Aug 31, 2026

Copy link
Copy Markdown

Adds a community module for Meilisearch. There is no Python module yet,
although Java, Go and Rust have one.

Two things worth a look during review:

  • No client library is required. Readiness is detected with
    HttpWaitStrategy against /health, so the extra is declared as
    meilisearch = []. The official meilisearch client is only added
    to the test dependency group.
  • The container runs in production mode by default, which makes a
    master key mandatory. A random one is generated when none is given
    and exposed via get_master_key(). Keys shorter than 16 bytes are
    rejected in the constructor, since Meilisearch would otherwise refuse
    to boot with a confusing error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant