mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
* Update to version 7.16.0 * Addresses log4j vulnerability CVE-2021-44228 * See https://github.com/elastic/elasticsearch/issues/81618#issuecomment-991254277
54 lines
1.6 KiB
Diff
54 lines
1.6 KiB
Diff
--- ./config/elasticsearch.yml 2021-12-12 22:21:21.000000000 -0500
|
|
+++ ./config/elasticsearch.yml 2021-12-12 22:24:52.000000000 -0500
|
|
@@ -14,7 +14,7 @@
|
|
#
|
|
# Use a descriptive name for your cluster:
|
|
#
|
|
-#cluster.name: my-application
|
|
+cluster.name: elasticsearch
|
|
#
|
|
# ------------------------------------ Node ------------------------------------
|
|
#
|
|
@@ -30,17 +30,21 @@
|
|
#
|
|
# Path to directory where to store the data (separate multiple locations by comma):
|
|
#
|
|
-#path.data: /path/to/data
|
|
+path.data: @PREFIX@/var/elasticsearch
|
|
#
|
|
# Path to log files:
|
|
#
|
|
-#path.logs: /path/to/logs
|
|
+path.logs: @PREFIX@/var/log/elasticsearch
|
|
+#
|
|
+# Path to directory where to snapshot and restore the data (separate multiple locations by comma):
|
|
+#
|
|
+path.repo: @PREFIX@/var/elasticsearch/backup
|
|
#
|
|
# ----------------------------------- Memory -----------------------------------
|
|
#
|
|
# Lock the memory on startup:
|
|
#
|
|
-#bootstrap.memory_lock: true
|
|
+bootstrap.memory_lock: true
|
|
#
|
|
# Make sure that the heap size is set to about half the memory available
|
|
# on the system and that the owner of the process is allowed to use this
|
|
@@ -54,6 +58,8 @@
|
|
# address here to expose this node on the network:
|
|
#
|
|
#network.host: 192.168.0.1
|
|
+# Bind to localhost unless explicitly changed
|
|
+network.host: 127.0.0.1
|
|
#
|
|
# By default Elasticsearch listens for HTTP traffic on the first free port it
|
|
# finds starting at 9200. Set a specific HTTP port here:
|
|
@@ -94,3 +100,7 @@
|
|
# Refer to the following documentation for instructions.
|
|
#
|
|
# https://www.elastic.co/guide/en/elasticsearch/reference/7.16/configuring-stack-security.html
|
|
+#
|
|
+# Disable xpack security
|
|
+#
|
|
+xpack.security.enabled: false
|