Skip to content

Instantly share code, notes, and snippets.

@dhenson02
Created April 4, 2020 03:06
Show Gist options
  • Save dhenson02/38bdd4e5d71a3f3233c0ad01cde861d5 to your computer and use it in GitHub Desktop.
Save dhenson02/38bdd4e5d71a3f3233c0ad01cde861d5 to your computer and use it in GitHub Desktop.
Elasticsearch, Logstash, Kibana (ELK) stack docker-compose.yml (defaults, portable, no setup/config)
version: '3'
services:
es1:
image:
"docker.elastic.co/elasticsearch/elasticsearch:7.6.0"
ports:
- "9200:9200"
- "9300:9300"
environment:
- "discovery.type=single-node"
- "bootstrap.memory_lock=true"
ulimits:
memlock:
soft: -1
hard: -1
kb1:
image:
"docker.elastic.co/kibana/kibana:7.6.0"
ports:
- "5601:5601"
links:
- "es1:elasticsearch"
ls1:
image:
"docker.elastic.co/logstash/logstash:7.6.0"
tty:
true
links:
- "es1:elasticsearch"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment