@@ -78,8 +78,10 @@ services:
## More info at https://github.com/markshust/docker-magento/issues/488
- "cluster.routing.allocation.disk.threshold_enabled=false"
- "index.blocks.read_only_allow_delete"
- ## Uncomment the following line to increase the virtual memory map count
- # - "max_map_count=262144"
+ ## Uncomment to set custom heap size to avoid memory errors
+ #- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
+ ## Uncomment to increase the virtual memory map count
+ #- "max_map_count=262144"
## If you wish to use Elasticsearch, comment out opensearch image above and
## uncomment this block. Do the same in the composer.healthcheck.yaml file.
@@ -98,8 +100,10 @@ services:
# ## More info at https://github.com/markshust/docker-magento/issues/488
# - "cluster.routing.allocation.disk.threshold_enabled=false"
# - "index.blocks.read_only_allow_delete"
- # ## Uncomment the following line to increase the virtual memory map count
+ # ## Uncomment to set custom heap size to avoid memory errors
+ # #- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
+ # ## Uncomment to increase the virtual memory map count
+ # #- "max_map_count=262144"
rabbitmq:
image: markoshust/magento-rabbitmq:3.12-0
@@ -1,5 +1,2 @@
ES_HOST=elasticsearch
ES_PORT=9200
-
-## Set custom heap size to avoid memory errors
-ES_JAVA_OPTS="-Xms1g -Xmx1g"
@@ -1,9 +1,5 @@
OPENSEARCH_HOST=opensearch
OPENSEARCH_PORT=9200
-OPENSEARCH_HEALTHCHECK_TIMEOUT=100
-OPENSEARCH_JAVA_OPTS="-Xms1g -Xmx1g"
# Prevent security patch conflicts with core M2 code
DISABLE_SECURITY_PLUGIN=true