Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Add the ability to change ES_JAVA_OPTS #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion environments/includes/elasticsearch.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ services:
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms64m -Xmx512m"
- "ES_JAVA_OPTS=-Xms${WARDEN_ELASTICSEARCH_JAVA_XMS:-512m} -Xmx${WARDEN_ELASTICSEARCH_JAVA_XMX:-512m}"
- cluster.routing.allocation.disk.threshold_enabled=false
- index.blocks.read_only_allow_delete
volumes:
- esdata:/usr/share/elasticsearch/data

Expand Down
4 changes: 3 additions & 1 deletion environments/includes/opensearch.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ services:
environment:
- DISABLE_SECURITY_PLUGIN=true
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms64m -Xmx512m"
- "ES_JAVA_OPTS=-Xms${WARDEN_ELASTICSEARCH_JAVA_XMS:-512m} -Xmx${WARDEN_ELASTICSEARCH_JAVA_XMX:-512m}"
- cluster.routing.allocation.disk.threshold_enabled=false
- index.blocks.read_only_allow_delete
volumes:
- osdata:/usr/share/opensearch/data

Expand Down
3 changes: 3 additions & 0 deletions environments/magento-cloud/init.env
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ VARNISH_VERSION=6.0

WARDEN_SYNC_IGNORE=

WARDEN_ELASTICSEARCH_JAVA_XMS=
WARDEN_ELASTICSEARCH_JAVA_XMX=

WARDEN_ALLURE=0
WARDEN_SELENIUM=0
WARDEN_SELENIUM_DEBUG=0
Expand Down
4 changes: 3 additions & 1 deletion environments/magento2/init.env
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ VARNISH_VERSION=7.0

WARDEN_SYNC_IGNORE=

WARDEN_ELASTICSEARCH_JAVA_XMS=
WARDEN_ELASTICSEARCH_JAVA_XMX=

WARDEN_ALLURE=0
WARDEN_SELENIUM=0
WARDEN_SELENIUM_DEBUG=0
Expand All @@ -33,4 +36,3 @@ BLACKFIRE_CLIENT_ID=
BLACKFIRE_CLIENT_TOKEN=
BLACKFIRE_SERVER_ID=
BLACKFIRE_SERVER_TOKEN=