1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-06-29 07:03:00 +08:00
cosin/database/elasticsearch/config/elasticsearch.yml
2019-11-01 19:28:14 +08:00

15 lines
527 B
YAML

http.host: 0.0.0.0
# Consider to enable cors features for elasticsearch head
# https://github.com/mobz/elasticsearch-head#enable-cors-in-elasticsearch
http.cors.enabled: true
http.cors.allow-origin: "*"
# Uncomment the following lines for a production cluster deployment
transport.host: 0.0.0.0
discovery.zen.minimum_master_nodes: 1
cluster.routing.allocation.disk.threshold_enabled: true
cluster.routing.allocation.disk.watermark.low: 1gb
cluster.routing.allocation.disk.watermark.high: 1gb
node.master: true
node.data: true