Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
add cors configuration for es server
Browse files Browse the repository at this point in the history
  • Loading branch information
KhadijaMahanga committed Dec 12, 2019
1 parent 11a8ad1 commit 743b0a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ services:
environment:
discovery.type: single-node
ES_JAVA_OPTS: -Xms512m -Xmx512m
http.cors.enabled: "true"
http.cors.allow-origin: "*"

web:
image: wordpress
Expand Down

0 comments on commit 743b0a1

Please sign in to comment.