mirror of
https://github.com/deviantony/docker-elk.git
synced 2025-12-16 06:19:52 +01:00
When starting the stack `with docker-compose up`, it gives out the error: ``` ERROR: Cannot start container e032695b38cdcd1c72597004f2369a7127b8233c9ecc2320c3b2bbd10209654b: [9] System error: not a directory ```
24 lines
481 B
YAML
24 lines
481 B
YAML
elasticsearch:
|
|
image: elasticsearch:latest
|
|
command: elasticsearch -Des.network.host=0.0.0.0
|
|
ports:
|
|
- "9200:9200"
|
|
- "9300:9300"
|
|
logstash:
|
|
image: logstash:latest
|
|
command: logstash -f /etc/logstash/conf.d/logstash.conf
|
|
volumes:
|
|
- ./logstash/config:/etc/logstash/conf.d
|
|
ports:
|
|
- "5000:5000"
|
|
links:
|
|
- elasticsearch
|
|
kibana:
|
|
build: kibana/
|
|
volumes:
|
|
- ./kibana/config/:/opt/kibana/config/
|
|
ports:
|
|
- "5601:5601"
|
|
links:
|
|
- elasticsearch
|