From 6e27cb4233a37d9c759308411e9ff260d1a60a93 Mon Sep 17 00:00:00 2001 From: Guilherme Souza Date: Mon, 5 Jun 2017 17:17:50 -0300 Subject: [PATCH] Updating to ES 5 on docker-compose --- config/local.yaml | 2 +- config/test.yaml | 2 +- test_containers/docker-compose.yml | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config/local.yaml b/config/local.yaml index 6d53281..e5b4344 100644 --- a/config/local.yaml +++ b/config/local.yaml @@ -63,7 +63,7 @@ elasticsearch: host: "http://localhost:9123" sniff: false indexMappings: - chat: '{ "mappings": { "message":{"_ttl": { "enabled": true, "default": "2d" }}}}' + chat: '{ "mappings": { "message":{}}}' redis: host: "localhost" port: 4444 diff --git a/config/test.yaml b/config/test.yaml index 69cbd32..d487a82 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -33,7 +33,7 @@ elasticsearch: host: "http://localhost:9123" sniff: false indexMappings: - chat: '{ "mappings": { "message":{"_ttl": { "enabled": true, "default": "2d" }}}}' + chat: '{ "mappings": { "message":{}}}' redis: host: "localhost" port: 4444 diff --git a/test_containers/docker-compose.yml b/test_containers/docker-compose.yml index ff995c1..b6186ec 100644 --- a/test_containers/docker-compose.yml +++ b/test_containers/docker-compose.yml @@ -21,10 +21,13 @@ services: labels: - "local.example.description=Mosquitto v1.4.9 MQTT server" elasticsearch: - image: elasticsearch:2.4 + image: docker.elastic.co/elasticsearch/elasticsearch:5.4.1 ports: - "9123:9200" - "9300:9300" - command: "elasticsearch -Des.logger.level=DEBUG" + environment: + - http.host=0.0.0.0 + - transport.host=127.0.0.1 + - xpack.security.enabled=false networks: mosqnet: