Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Add CORS configuration to ES container (#939)

Dhruv Bhanushali666ba66e48d8
diff --git a/docker-compose.yml b/docker-compose.yml
index abd867412..7f0929cd5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -46,6 +46,8 @@ services:
# https://www.elastic.co/guide/en/elasticsearch/reference/5.3/docker.html#_security_note
- xpack.security.enabled=false
- discovery.type=single-node
+ - http.cors.enabled=true
+ - http.cors.allow-origin=/.*/
healthcheck:
test:
[