elasticsearch: auto_import_dangling_indices in single-node mode
This commit is contained in:
parent
f4b40d572c
commit
9cbdd2655c
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@ let
|
|||
esConfig = ''
|
||||
network.host: ${cfg.listenAddress}
|
||||
cluster.name: ${cfg.cluster_name}
|
||||
${lib.optionalString cfg.single_node "discovery.type: single-node"}
|
||||
${lib.optionalString cfg.single_node ''
|
||||
discovery.type: single-node
|
||||
gateway.auto_import_dangling_indices: true
|
||||
''}
|
||||
|
||||
http.port: ${toString cfg.port}
|
||||
transport.port: ${toString cfg.tcp_port}
|
||||
|
|
Loading…
Reference in a new issue