Skip to content

Instantly share code, notes, and snippets.

@sherifabdlnaby
Last active May 14, 2020 11:59
Show Gist options
  • Save sherifabdlnaby/fb6757667ca8a7d5e61aecbc1b794ebf to your computer and use it in GitHub Desktop.
Save sherifabdlnaby/fb6757667ca8a7d5e61aecbc1b794ebf to your computer and use it in GitHub Desktop.
Elasticsearch.yml
## Cluster Settings
cluster.name: ${ELASTIC_CLUSTER_NAME}
node.name: ${ELASTIC_NODE_NAME}
network.host: 0.0.0.0
transport.host: 0.0.0.0
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
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment