elasticsearch: auto_import_dangling_indices in single-node mode

This commit is contained in:
happysalada 2021-09-07 11:29:23 +09:00 committed by Raphael Megzari
parent f4b40d572c
commit 9cbdd2655c

View File

@ -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}