File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 # `opensearch-port`. OpenSearch 2.11 (port 9200) covers Magento 2.4.7–2.4.8;
3535 # OpenSearch 3.x (port 9201) is required by Magento 2.4.9 and Mage-OS latest.
3636 # Security is disabled on both so no credentials are needed.
37+ #
38+ # OpenSearch >= 2.12 made OPENSEARCH_INITIAL_ADMIN_PASSWORD mandatory: the
39+ # image entrypoint runs the security demo-config installer and aborts the
40+ # container if it is unset. plugins.security.disabled only changes
41+ # opensearch.yml and does NOT stop that installer, so the 3.x service must
42+ # disable the security plugin and demo config via the entrypoint env vars
43+ # (DISABLE_SECURITY_PLUGIN / DISABLE_INSTALL_DEMO_CONFIG). 2.11 predates the
44+ # requirement and starts fine with the original config.
3745 opensearch2 :
3846 image : opensearchproject/opensearch:2.11.0
3947 env :
5361 image : opensearchproject/opensearch:3.1.0
5462 env :
5563 discovery.type : single-node
56- plugins.security.disabled : " true"
64+ DISABLE_SECURITY_PLUGIN : " true"
65+ DISABLE_INSTALL_DEMO_CONFIG : " true"
5766 OPENSEARCH_JAVA_OPTS : " -Xms512m -Xmx512m"
5867 ports :
5968 - 9201:9200
You can’t perform that action at this time.
0 commit comments