Browse Source

Make opensearch default for Commerce 2.4.6

Mark Shust 2 years ago
parent
commit
86b2b43390
1 changed files with 21 additions and 21 deletions
  1. 21 21
      compose/compose.commerce246beta.yaml

+ 21 - 21
compose/compose.commerce246beta.yaml

@@ -54,30 +54,12 @@ services:
     ports:
       - "6379:6379"
 
-  #opensearch:
-  #  image: markoshust/magento-opensearch:2.4-develop
-  #  ports:
-  #    - "9200:9200"
-  #    - "9300:9300"
-  #  env_file: env/opensearch.env
-  #  environment:
-  #    - "discovery.type=single-node"
-  #    ## Avoid test failures due to small disks
-  #    ## More info at https://github.com/markshust/docker-magento/issues/488
-  #    - "cluster.routing.allocation.disk.threshold_enabled=false"
-  #    - "index.blocks.read_only_allow_delete"
-
-  ## If you wish to use Elasticsearch, comment out opensearch image above and
-  ## uncomment this block. Do the same in the composer.healthcheck.yaml file.
-  # Additionally, if you are performing the manual setup, you will need to
-  # update the bin/setup command to use the $ES_HOST variable as the value for
-  # the --elasticsearch-host argument passed to bin/magento setup:install.
-  elasticsearch:
-    image: markoshust/magento-elasticsearch:8.4-develop
+  opensearch:
+    image: markoshust/magento-opensearch:2.4-develop
     ports:
       - "9200:9200"
       - "9300:9300"
-    env_file: env/elasticsearch.env
+    env_file: env/opensearch.env
     environment:
       - "discovery.type=single-node"
       ## Avoid test failures due to small disks
@@ -85,6 +67,24 @@ services:
       - "cluster.routing.allocation.disk.threshold_enabled=false"
       - "index.blocks.read_only_allow_delete"
 
+  ## If you wish to use Elasticsearch, comment out opensearch image above and
+  ## uncomment this block. Do the same in the composer.healthcheck.yaml file.
+  # Additionally, if you are performing the manual setup, you will need to
+  # update the bin/setup command to use the $ES_HOST variable as the value for
+  # the --elasticsearch-host argument passed to bin/magento setup:install.
+  #elasticsearch:
+  #  image: markoshust/magento-elasticsearch:8.4-develop
+  #  ports:
+  #    - "9200:9200"
+  #    - "9300:9300"
+  #  env_file: env/elasticsearch.env
+  #  environment:
+  #    - "discovery.type=single-node"
+  #    ## Avoid test failures due to small disks
+  #    ## More info at https://github.com/markshust/docker-magento/issues/488
+  #    - "cluster.routing.allocation.disk.threshold_enabled=false"
+  #    - "index.blocks.read_only_allow_delete"
+
   rabbitmq:
     image: markoshust/magento-rabbitmq:3.9-0
     ports: