Skip to content
Snippets Groups Projects
Commit 5c27bfc9 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

Refactoring code, as a classical ES plugin

parent dae5be0c
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
# Use a descriptive name for your cluster: # Use a descriptive name for your cluster:
# #
# cluster.name: my-application # cluster.name: my-application
cluster.name: duniter4j-elasticsearch
# #
# ------------------------------------ Node ------------------------------------ # ------------------------------------ Node ------------------------------------
# #
...@@ -55,24 +56,15 @@ ...@@ -55,24 +56,15 @@
# #
# Set a custom port for HTTP: # Set a custom port for HTTP:
# #
http.port: 9292 # http.port: 9200
#http.port: 9200
http.cors.enabled: true
# #
# For more information, see the documentation at: # For more information, see the documentation at:
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html> # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html>
# #
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
# gateway.recover_after_nodes: 3
#
# For more information, see the documentation at:
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html>
#
# --------------------------------- Discovery ---------------------------------- # --------------------------------- Discovery ----------------------------------
# #
# Elasticsearch nodes will find each other via unicast, by default.
#
# Pass an initial list of hosts to perform discovery when new node is started: # Pass an initial list of hosts to perform discovery when new node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"] # The default list of hosts is ["127.0.0.1", "[::1]"]
# #
...@@ -85,6 +77,15 @@ http.port: 9292 ...@@ -85,6 +77,15 @@ http.port: 9292
# For more information, see the documentation at: # For more information, see the documentation at:
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery.html> # <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery.html>
# #
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
# gateway.recover_after_nodes: 3
#
# For more information, see the documentation at:
# <http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-gateway.html>
#
# ---------------------------------- Various ----------------------------------- # ---------------------------------- Various -----------------------------------
# #
# Disable starting multiple nodes on a single system: # Disable starting multiple nodes on a single system:
...@@ -95,6 +96,9 @@ http.port: 9292 ...@@ -95,6 +96,9 @@ http.port: 9292
# #
# action.destructive_requires_name: true # action.destructive_requires_name: true
security.manager.enabled: false
#duniter.disable: true #duniter.disable: true
duniter.host: cgeek.fr duniter.host: cgeek.fr
duniter.port: 9330 duniter.port: 9330
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment