diff --git a/docker-compose.yml b/docker-compose.yml index 85c8082..c1ad4c6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -84,6 +84,15 @@ services: - 9300:9300 environment: - discovery.type=single-node + - http.port=9200 + - http.cors.enabled=true + - http.cors.allow-origin=http://localhost:9100 + - http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization + - http.cors.allow-credentials=true + - cluster.routing.allocation.disk.threshold_enabled=false + - cluster.routing.allocation.disk.watermark.flood_stage=200mb + - cluster.routing.allocation.disk.watermark.low=500mb + - cluster.routing.allocation.disk.watermark.high=300mb volumes: - elasticsearch-mount:/usr/share/elasticsearch/data