laravel / sail

Docker files for running a basic Laravel application.
https://laravel.com/docs/sail
MIT License
1.65k stars 470 forks source link

Fix meilisearch healthcheck gets to IPv6 instead IPv4 #697

Closed Theprim0 closed 3 months ago

Theprim0 commented 3 months ago

When using vendor/bin/sail up it mails as meilisearch container does not pass the healthcheck. It wget's to localhost ::1 and not the IPv4 Address, so the check fails with: Connecting to localhost:7700 ([::1]:7700) wget: can't connect to remote host: Connection refused

This fixes the issue, using 127.0.0.1 as IPv4.