Skip to content

Instantly share code, notes, and snippets.

@aedorado
Created December 6, 2020 16:24
Show Gist options
  • Save aedorado/62093cea33e7179dd5b68337591ac38e to your computer and use it in GitHub Desktop.
Save aedorado/62093cea33e7179dd5b68337591ac38e to your computer and use it in GitHub Desktop.
Docker compose file for ELK 7.9.2
version: '3.7'
services:
elasticsearch:
image: elasticsearch:7.9.2
ports:
- '9200:9200'
environment:
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
kibana:
image: kibana:7.9.2
ports:
- '5601:5601'
logstash:
image: logstash:7.9.2
ports:
- '5000:5000'
volumes:
- type: bind
source: ./logstash_pipeline/
target: /usr/share/logstash/pipeline
read_only: true
@DineshGuptaa
Copy link

I am unable to see the logstash_pipeline/ports.conf inside logstash docker container. Please help me. I am stuck here. I am on Oracle Virtual Box with Oracle linux-8 & installed Docker Version: 20.10.14

@devsingh1234
Copy link

curl localhost 5000
curl: (7) Failed to connect to localhost port 80 after 0 ms: Connection refused

how to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment