You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues
I want to use elasticsearch on Laradock ,but after importing indexs, I met a problem on connecting to elasticsearch. My PHP project's .env is above. I thought elasticsearch's host is localhost:9200 same as my local. However, I can't connect to elasticsearch anway.
In consideration of Laravel has it own ports and connects, I consider Laradock has setted their connects and host. Imitate that mysql's host in document is setted in mysql strangely, I also set elasticsearch's HOST on elasticsearch. What's a magic! I connects to elasticsearch finally!
This is my PHP project's final .env .env
SCOUT_DRIVER=Matchish\ScoutElasticSearch\Engines\ElasticSearchEngine
ELASTICSEARCH_HOST=elasticsearch
The text was updated successfully, but these errors were encountered:
Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
.env
SCOUT_DRIVER=Matchish\ScoutElasticSearch\Engines\ElasticSearchEngine
ELASTICSEARCH_HOST=localhost:9200
Issues
I want to use elasticsearch on Laradock ,but after importing indexs, I met a problem on connecting to elasticsearch. My PHP project's .env is above. I thought elasticsearch's host is localhost:9200 same as my local. However, I can't connect to elasticsearch anway.
In consideration of Laravel has it own ports and connects, I consider Laradock has setted their connects and host. Imitate that mysql's host in document is setted in mysql strangely, I also set elasticsearch's HOST on elasticsearch. What's a magic! I connects to elasticsearch finally!
This is my PHP project's final .env
.env
SCOUT_DRIVER=Matchish\ScoutElasticSearch\Engines\ElasticSearchEngine
ELASTICSEARCH_HOST=elasticsearch
The text was updated successfully, but these errors were encountered: