Explorar el Código

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

Mark Shust hace 2 años
padre
commit
af5f248734
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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