Change-Id: Ib9f8e7d18d910d42baee52ce7ffdc91d6e53daed
Signed-off-by: lavado <glavado@whitestack.com>
version: '3'
+volumes:
+ elasticsearch_data:
+
services:
filebeat:
- ./metricbeat.yml:/usr/share/metricbeat/metricbeat.yml
- /var/run/docker.sock:/var/run/docker.sock:ro
command: --strict.perms=false -e -c /usr/share/metricbeat/metricbeat.yml -system.hostfs=/hostfs # -e flag to log to stderr and disable syslog/file output
- networks:
+ networks:
- elk
depends_on: ['elasticsearch', 'kibana']
image: docker.elastic.co/elasticsearch/elasticsearch-oss:${ELASTIC_VERSION:-6.4.2}
volumes:
- ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
+ - elasticsearch_data:/usr/share/elasticsearch/data
ports:
- "9200:9200"
environment: