From f314fe0a7e76bc5be829ad2f628ba1fc452d3fe7 Mon Sep 17 00:00:00 2001 From: Stefan Natter Date: Thu, 14 May 2020 18:59:49 +0200 Subject: [PATCH] fix: twitter-search wasn't able to access elasticsearch due to cors issues --- dockerfiles/latest/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dockerfiles/latest/docker-compose.yml b/dockerfiles/latest/docker-compose.yml index 70beedfe..228c81df 100644 --- a/dockerfiles/latest/docker-compose.yml +++ b/dockerfiles/latest/docker-compose.yml @@ -36,6 +36,8 @@ services: - cluster.name=docker-cluster - bootstrap.memory_lock=true - "ES_JAVA_OPTS=${ELASTIC_JAVA_OPTS}" + - http.cors.enabled=true + - http.cors.allow-origin=* ulimits: memlock: soft: -1