Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TheDudeV2's avatar

Laravel Scout - Meilisearch Database Path

The site I'm building requires an instant search box. This search box will search approximately 500,000 records and should be typo-tolerant.

I've integrated Laravel Scout with the Meilisearch driver successfully. The problem I run into comes with deployment to Laravel Vapor: no persistent file storage on Vapor/Lambda means Meilisearch is problematic.

Long story short, I want to try an experiment and mount an AWS EFS to AWS Lambda and then store Meilisearch's index files on EFS.

So, the question is this:

Using Laravel Scout, how do I modify Meilisearch's Database Path (Environment variable: MEILI_DB_PATH, CLI option: --db-path, Default value: "data.ms/") to be /mnt/local/data/ms instead?

0 likes
1 reply
thirdeyevision's avatar

Hey - we are also on the same path as you - Did you get an answer? mind sharing some steps please?

Thanks

Please or to participate in this conversation.