0
Follow
0
View

Installed via Laravel Sail and available on the port Meilisearch doesn't add indexes for models; date.ms file seems to be missing

darkblue10 注册会员
2023-01-25 05:37

The problem was in incorrect configuration.

It was necessary to replace the host address 127.0.0.1 with value 'meilisearch' in the .env file like this:

SCOUT_DRIVER=meilisearch
MEILISEARCH_HOST=http://meilisearch:7700
MEILISEARCH_KEY=masterKey

Similarly (but this was not the problem) it was necessary to replace the host address 127.0.0.1 with the value 'meilisearch' in the docker-compose.yml file in 'healthcheck' section like this:

healthcheck:
    test: ["CMD", "wget", "--no-verbose", "--spider",  "http://meilisearch:7700/health"]
    retries: 3
    timeout: 5s

About the Author

Question Info

Publish Time
2023-01-25 05:37
Update Time
2023-01-25 05:37