docker-magento icon indicating copy to clipboard operation
docker-magento copied to clipboard

WIP: Add configuration & Docker image for OpenSearch

Open markshust opened this issue 2 years ago • 2 comments

I'd appreciate any help offered to replace Elasticsearch with OpenSearch for default/new Magento installs (still would like to support Elasticsearch for Magento versions < 2.4.4).

markshust avatar Apr 13 '22 15:04 markshust

Just provide helpful resourece: https://github.com/magento/magento-cloud-docker/blob/50c77b0dc30ea33b86fe8d02224342d6c9484e93/images/opensearch/1.2/Dockerfile#L1-L21

https://github.com/magento/magento-cloud-docker/blob/50c77b0dc30ea33b86fe8d02224342d6c9484e93/src/Test/Integration/_files/cloud_base_developer/docker-compose.exp.yml#L66-L79

rangerz avatar Jul 23 '22 08:07 rangerz

Required setting for docker-compose.yml

opensearch:
    environment:
      - DISABLE_SECURITY_PLUGIN=true

rangerz avatar Jul 31 '22 05:07 rangerz

@markshust Do you plan on creating the markoshust/magento-opensearch:1.2.4-0 docker image in your docker hub repository?

bradleybrecher avatar Oct 19 '22 15:10 bradleybrecher

@bradleybrecher yes, I can't remember what issues I was actually having with this before (could have been many other updates I was merging in at that time), but I'll add this to my todo sometime this next week to get a new build image up (or perhaps we can just use the core/base image).

markshust avatar Oct 20 '22 16:10 markshust

@markshust thank you.

I have it working with using the core/base image opensearchproject/opensearch:1.2.4 but it would be nice to have the image be like the rest of the them (from your repository) even if it is just a basic fork.

Also will note from the current state of the pr I had to add https://github.com/markshust/docker-magento/pull/680#issuecomment-1200353125 to get it working

bradleybrecher avatar Oct 21 '22 16:10 bradleybrecher

@bradleybrecher ok thanks much for the info. Will test this shortly!

markshust avatar Oct 24 '22 17:10 markshust