Skip to content

Instantly share code, notes, and snippets.

@sherifabdlnaby
Last active May 14, 2020 13:35
Show Gist options
  • Save sherifabdlnaby/e3e5fbc0ab3677e930f1df34623ae7fe to your computer and use it in GitHub Desktop.
Save sherifabdlnaby/e3e5fbc0ab3677e930f1df34623ae7fe to your computer and use it in GitHub Desktop.
COMPOSE_PROJECT_NAME=elastic
ELK_VERSION=7.7.0
#----------- Resources --------------------------#
ELASTICSEARCH_HEAP=1024m
LOGSTASH_HEAP=512m
#----------- Hosts and Ports --------------------#
# To be able to further "de-compose" the compose files, get hostnames from environment variables instead.
ELASTICSEARCH_HOST=elasticsearch
ELASTICSEARCH_PORT=9200
KIBANA_HOST=kibana
KIBANA_PORT=5601
LOGSTASH_HOST=logstash
LOGSTASH_PORT=8080
#----------- Credientals ------------------------#
# Username & Password for Admin Elasticsearch cluster.
# This is used to set the password at setup, and used by others to connect to Elasticsearch at runtime.
ELASTIC_USERNAME=elastic
ELASTIC_PASSWORD=changeme
#----------- Cluster ----------------------------#
ELASTIC_CLUSTER_NAME=elastic-stack
ELASTIC_INIT_MASTER_NODE=elastic-stack-node-0
ELASTIC_NODE_NAME=elastic-stack-node-0
# Hostnames of master eligble elasticsearch instances. (matches compose generated host name)
ELASTIC_DISCOVERY_SEEDS=elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment