Newer
Older
#
# Docker compose file that launches an ELK stack.
# See https://elk-docker.readthedocs.io/
#
# Defines:
# - elk-configure-host: Configures the hosts's kernel to be able to use the ELK stack
volumes:
elk-data: {}
elk-configure-host:
image: elk-configure-host
build:
context: elk-configure-host
container_name: ${CONTAINER_NAME_PREFIX}elk-configure-host
network_mode: ${NETWORK_MODE}

Jan David Mol
committed
privileged: true
image: elk
build:
context: elk
container_name: ${CONTAINER_NAME_PREFIX}elk
network_mode: ${NETWORK_MODE}
volumes:
- elk-data:/var/lib/elasticsearch

Jan David Mol
committed
- "5601:5601" # kibana
- "9200:9200" # elasticsearch
- "5044:5044" # logstash beats input
- "1514:1514" # logstash syslog input
- "5959:5959" # logstash tcp json input
depends_on:
- elk-configure-host