23 lines
841 B
YAML
23 lines
841 B
YAML
## Default Elasticsearch configuration from Elasticsearch base image.
|
|
### https://github.com/elastic/elasticsearch/blob/master/distribution/docker/src/docker/config/elasticsearch.yml
|
|
##
|
|
cluster.name: "console-cluster"
|
|
# TODO: change _local_
|
|
network.host: 0.0.0.0
|
|
discovery.type: single-node
|
|
|
|
### X-Pack settings
|
|
### see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-xpack.html
|
|
##
|
|
xpack.license.self_generated.type: basic
|
|
xpack.security.enabled: true
|
|
xpack.monitoring.collection.enabled: false
|
|
|
|
http.cors.enabled: true
|
|
http.cors.allow-origin: "*"
|
|
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
|
|
http.cors.allow-headers: Authorization,X-Requested-With,X-Auth-Token,Content-Type,Content-Length
|
|
http.cors.allow-credentials: true
|
|
|
|
path.logs: /var/log/elasticsearch/
|
|
path.data: /usr/share/elasticsearch/data
|