mirror of
https://github.com/ivuorinen/docker-elk.git
synced 2026-02-14 15:49:00 +00:00
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
## Default Elasticsearch configuration from Elasticsearch base image.
|
|
## https://github.com/elastic/elasticsearch/blob/master/distribution/docker/src/docker/config/elasticsearch.yml
|
|
#
|
|
cluster.name: ${ELASTIC_CLUSTER_NAME}
|
|
node.name: ${ELASTIC_NODE_NAME}
|
|
network.host: 0.0.0.0
|
|
transport.host: 0.0.0.0
|
|
http.port: ${ELASTICSEARCH_PORT}
|
|
|
|
## Cluster Settings
|
|
discovery.seed_hosts: ${ELASTIC_DISCOVERY_SEEDS}
|
|
cluster.initial_master_nodes: ${ELASTIC_INIT_MASTER_NODE}
|
|
|
|
## License
|
|
xpack.license.self_generated.type: basic
|
|
|
|
# Security
|
|
xpack.security.enabled: true
|
|
|
|
## - ssl
|
|
xpack.security.transport.ssl.enabled: true
|
|
xpack.security.transport.ssl.verification_mode: certificate
|
|
xpack.security.transport.ssl.key: certs/elasticsearch.key
|
|
xpack.security.transport.ssl.certificate: certs/elasticsearch.crt
|
|
xpack.security.transport.ssl.certificate_authorities: certs/ca.crt
|
|
|
|
## - http
|
|
xpack.security.http.ssl.enabled: true
|
|
xpack.security.http.ssl.key: certs/elasticsearch.key
|
|
xpack.security.http.ssl.certificate: certs/elasticsearch.crt
|
|
xpack.security.http.ssl.certificate_authorities: certs/ca.crt
|
|
xpack.security.http.ssl.client_authentication: optional
|
|
|
|
# Monitoring
|
|
xpack.monitoring.collection.enabled: true |