Browse Source

Revert "Remove quotes around JAVA OPTS value for Elasticsearch to resolve issue with container exiting at startup #875"

This reverts commit af5f248734be8f73db532a92e7cd510f4cb72895.
Mark Shust 2 years ago
parent
commit
ebdde6eba4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compose/env/elasticsearch.env
  2. 1 1
      compose/env/opensearch.env

+ 1 - 1
compose/env/elasticsearch.env

@@ -2,4 +2,4 @@ ES_HOST=elasticsearch
 ES_PORT=9200
 
 ## Set custom heap size to avoid memory errors
-ES_JAVA_OPTS=-Xms1g -Xmx1g
+ES_JAVA_OPTS="-Xms1g -Xmx1g"

+ 1 - 1
compose/env/opensearch.env

@@ -3,7 +3,7 @@ OPENSEARCH_PORT=9200
 OPENSEARCH_HEALTHCHECK_TIMEOUT=100
 
 ## Set custom heap size to avoid memory errors
-OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g
+OPENSEARCH_JAVA_OPTS="-Xms1g -Xmx1g"
 
 # Prevent security patch conflicts with core M2 code
 DISABLE_SECURITY_PLUGIN=true