Closed edumaciel10 closed 1 year ago
I got the same error. I used elasticsearch instead and commented out these lines from bin/setup-install
https://github.com/markshust/docker-magento/blob/de16a381fe9759903f6f94323994ea5dc2cf3742/compose/bin/setup-install#L52-L53
Hello, I have tried that solution but it doesn't work for me.
It shows me that answer:
service "phpfpm" depends on undefined service opensearch: invalid compose project
I followed this option: https://github.com/markshust/docker-magento#elasticsearch-vs-opensearch
Any help thanks!
thanks in advance
@misterernest I think you forgot to comment out these lines https://github.com/markshust/docker-magento/blob/96abf6d57f00e7c8bd0ced5469de417095bc7410/compose/compose.healthcheck.yaml#L17-L18
then uncomment these https://github.com/markshust/docker-magento/blob/96abf6d57f00e7c8bd0ced5469de417095bc7410/compose/compose.healthcheck.yaml#L21-L22
Since Magento 2.4.5 supports OpenSearch, I recommend to just use OpenSearch and update the Elasticsearch config to point at that OpenSearch server instead.
The config change is really easy. I updated the documentation at https://github.com/markshust/docker-magento#new-projects with info on how to do this, and will look into automating this depending on the Magento version number being installed.
Description I'm trying to install the magento2 using the docker-magento2, but I'm facing an problem
Steps To Reproduce
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.5-p1 community
Expected Result Successfully install
Actual Result