37 lines
1.4 KiB
YAML
37 lines
1.4 KiB
YAML
# ======================== Elasticsearch Configuration =========================
|
|
|
|
# ---------------------------------- Cluster -----------------------------------
|
|
cluster.name: cloudron-cluster
|
|
|
|
# ------------------------------------ Node ------------------------------------
|
|
node.name: ${HOSTNAME}
|
|
node.master: true
|
|
node.data: true
|
|
|
|
# ----------------------------------- Paths ------------------------------------
|
|
path.data: /app/data/elasticsearch
|
|
path.logs: /app/data/logs
|
|
|
|
# ---------------------------------- Network -----------------------------------
|
|
network.host: 0.0.0.0
|
|
http.port: 9200
|
|
transport.port: 9300
|
|
|
|
# --------------------------------- Discovery ----------------------------------
|
|
discovery.type: single-node
|
|
|
|
# --------------------------------- Security ----------------------------------
|
|
xpack.security.enabled: true
|
|
xpack.security.transport.ssl.enabled: false
|
|
xpack.security.http.ssl.enabled: false
|
|
|
|
# ----------------------------------- Memory ----------------------------------
|
|
bootstrap.memory_lock: false
|
|
|
|
# ---------------------------------- Various ----------------------------------
|
|
http.cors.enabled: true
|
|
http.cors.allow-origin: "*"
|
|
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
|
|
http.cors.allow-headers: "X-Requested-With, X-Auth-Token, Content-Type, Content-Length, Authorization"
|
|
|
|
action.auto_create_index: .security,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml* |