This repository contains a Docker Compose configuration for deploying an ELK stack (Elasticsearch, Logstash, Kibana) along with Filebeat and a log collection application. This setup facilitates efficient log management, analysis, and visualization.
- Image:
docker.elastic.co/elasticsearch/elasticsearch:7.15.0
- Port:
9200
- Environment: Configured for single-node mode.
- Image:
docker.elastic.co/kibana/kibana:7.15.0
- Port:
5601
- Environment: Configured to connect to Elasticsearch and disable HTTP authentication.
- Image: Custom (defined in
.env
) - Command:
filebeat -e -strict.perms=false
- Volume: Collects logs from the mounted volume.
- Image:
ur-img:ur-tag
- Port:
5000
- Volume: Provides logs to be collected by Filebeat.
-
Prepare the
.env
File: Customize the.env
file with your specific configuration settings. -
Run Docker Compose: Execute the following command to start all services:
docker-compose up
- Docker
- Docker Compose