http.port: 9200 transport.port: 9300 http.host: 0.0.0.0 http.cors.enabled: true http.cors.allow-origin: "*" network.host: 0.0.0.0 path: data: /usr/share/elasticsearch/data logs: /usr/share/elasticsearch/logs gateway.recover_after_nodes: 1 cluster.name: ${CLUSTER_NAME} node.name: ${ES_SETTING_NODE_NAME} node.master: true node.ingest: true node.data: true #----------------------- BEGIN SECURITY AUTO CONFIGURATION ----------------------- # # The following settings, TLS certificates, and keys have been automatically # generated to configure Elasticsearch security features on 23-07-2024 03:18:54 # # -------------------------------------------------------------------------------- # Enable security features xpack.security.enabled: true xpack.security.enrollment.enabled: true # Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents xpack.security.http.ssl: enabled: true keystore.path: certs/http.p12 # Enable encryption and mutual authentication between cluster nodes xpack.security.transport.ssl: enabled: true verification_mode: certificate keystore.path: certs/transport.p12 truststore.path: certs/transport.p12 #----------------------- END SECURITY AUTO CONFIGURATION -------------------------