sdy

create elasticsearch.yml

1 +cluster.name: "docker-cluster"
2 +network.host: 0.0.0.0
3 +
4 +http.cors.allow-origin: "*"
5 +http.cors.enabled: true
6 +http.cors.allow-credentials: true
7 +http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
8 +http.cors.allow-headers: X-Requested-With, X-Auth-Token, Content-Type, Content-Length, Authorization, Access-Control-Allow-Headers, Accept