From 03e54fd8ac1285d756c958b00c309fe5644a54e5 Mon Sep 17 00:00:00 2001 From: To-om Date: Wed, 10 Jul 2019 13:59:11 +0200 Subject: [PATCH] #191 Update configuration.sample --- conf/application.sample | 37 ++++++++++++++++++++++++++++---- docker/cortex/docker-compose.yml | 2 +- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/conf/application.sample b/conf/application.sample index 816646ba0..b74a3fda1 100644 --- a/conf/application.sample +++ b/conf/application.sample @@ -12,10 +12,39 @@ search { # Name of the index index = cortex - # Name of the ElasticSearch cluster - cluster = hive - # Address of the ElasticSearch instance - host = ["127.0.0.1:9300"] + # ElasticSearch instance address. + uri = "http://127.0.0.1:9200/" + + ## Advanced configuration + # Scroll keepalive. + #keepalive = 1m + # Scroll page size. + #pagesize = 50 + # Number of shards + #nbshards = 5 + # Number of replicas + #nbreplicas = 1 + # Arbitrary settings + #settings { + # # Maximum number of nested fields + # mapping.nested_fields.limit = 100 + #} + + ## Authentication configuration + #search.username = "" + #search.password = "" + + ## SSL configuration + #search.keyStore { + # path = "/path/to/keystore" + # type = "JKS" # or PKCS12 + # password = "keystore-password" + #} + #search.trustStore { + # path = "/path/to/trustStore" + # type = "JKS" # or PKCS12 + # password = "trustStore-password" + #} } ## Cache diff --git a/docker/cortex/docker-compose.yml b/docker/cortex/docker-compose.yml index 1dc8e47c5..9aed5af1f 100644 --- a/docker/cortex/docker-compose.yml +++ b/docker/cortex/docker-compose.yml @@ -9,7 +9,7 @@ services: - thread_pool.search.queue_size=100000 - thread_pool.bulk.queue_size=100000 cortex: - image: thehiveproject/cortex:latest + image: thehiveproject/cortex:3.0.0-RC4 depends_on: - elasticsearch ports: