more memz please
This commit is contained in:
parent
7a48a1e2cd
commit
b7f8a98276
|
@ -39,8 +39,9 @@
|
||||||
cluster_name = "zentralwerk";
|
cluster_name = "zentralwerk";
|
||||||
dataDir = "/srv/elasticsearch";
|
dataDir = "/srv/elasticsearch";
|
||||||
listenAddress = "0.0.0.0";
|
listenAddress = "0.0.0.0";
|
||||||
|
extraJavaOptions = [ "-Xms2g" "-Xmx2g" ];
|
||||||
};
|
};
|
||||||
|
systemd.services.elasticsearch.serviceConfig.Restart = "always";
|
||||||
|
|
||||||
# does not work, needs to be set on hv (done through ansible)
|
# does not work, needs to be set on hv (done through ansible)
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
|
|
|
@ -69,6 +69,7 @@
|
||||||
mongodbUri = "mongodb://mongo.serv.zentralwerk.org/graylog";
|
mongodbUri = "mongodb://mongo.serv.zentralwerk.org/graylog";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
http_bind_address = 0.0.0.0:9000
|
http_bind_address = 0.0.0.0:9000
|
||||||
|
http_publish_uri = http://logging.serv.zentralwerk.org/
|
||||||
elasticsearch_shards = 1
|
elasticsearch_shards = 1
|
||||||
allow_highlighting = true
|
allow_highlighting = true
|
||||||
allow_leading_wildcard_searches = true
|
allow_leading_wildcard_searches = true
|
||||||
|
|
Loading…
Reference in New Issue