There was an error while loading. Please reload this page.
1 parent 0ab9d15 commit ea738a8Copy full SHA for ea738a8
packages/elasticsearch.sh
@@ -49,6 +49,11 @@ tar -xaf "${CACHED_DOWNLOAD}" --strip-components=1 --directory "${ELASTICSEARCH_
49
50
echo "http.port: ${ELASTICSEARCH_PORT}" >> ${ELASTICSEARCH_DIR}/config/elasticsearch.yml
51
52
+# Disable version 8 default security
53
+if [ ${ELASTICSEARCH_VERSION:0:1} -ge 8 ]; then
54
+ echo "xpack.security.enabled: false" >> ${ELASTICSEARCH_DIR}/config/elasticsearch.yml
55
+fi
56
+
57
if [ "$ELASTICSEARCH_PLUGINS" ]
58
then
59
for i in $ELASTICSEARCH_PLUGINS ; do
0 commit comments