RedisLabsModules / automata

MIT License
2 stars 1 forks source link

Following up on ES configuration for single node #8

Open filipecosta90 opened 3 years ago

filipecosta90 commented 3 years ago

The default settings I get after installing are:

node.name: "redes-103035"
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
http.port: 9200

network.host : 127.0.0.1

Which gives the following errors when I want to enable access to the single node cluster:

bootstrap check failure [1] of [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

I've fixed it via (https://stackoverflow.com/a/61547317) :

node.data : true
network.host : 0.0.0.0
discovery.seed_hosts : []
cluster.initial_master_nodes : []

Final ES config file:

node.name: "redes-103035"
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
http.port: 9200

node.data : true
network.host : 0.0.0.0
discovery.seed_hosts : []
cluster.initial_master_nodes : []