Deploy pfelk with docker-compose Video Tutorial
- Docker
- Docker-Compose
- Adequate Memory (i.e. 8GB+)
sudo apt-get install docker
sudo apt-get install docker-compose
sudo wget https://github.com/pfelk/docker/archive/refs/heads/main.zip
sudo apt-get install unzip
sudo unzip main.zip
sudo sysctl -w vm.max_map_count=262144
sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf
sudo nano .env
ELK_VERSION=8.1.0
ELASTIC_PASSWORD=ELASTIC-PASSWORD
KIBANA_PASSWORD=KIBANA-PASSWORD
LOGSTASH_PASSWORD=LOGSTASH-PASSWORD
LICENSE=basic
sed -i 's/logstash_system_password/LOGSTASH-PASSWORD/' etc/logstash/config/logstash.yml
sed -i 's/elastic_password/ELASTIC-PASSWORD/' etc/pfelk/conf.d/50-outputs.pfelk
or use the Script
./set-logstash-password.sh
sudo docker-compose up
Once fully running, navigate to the host ip (ex: 192.168.0.100:5601)
- Configure Security here
- Finish Configuring here