Deploy pfelk with docker-compose Video Tutorial
- Docker
- Docker-Compose
- Adequate Memory (i.e. 4GB+)
sudo apt-get install docker
sudo apt-get install docker-compose
sudo wget https://github.com/pfelk/docker/raw/main/pfelkdocker.zip
sudo apt-get install unzip
sudo unzip pfelkdocker.zip
sudo sysctl -w vm.max_map_count=262144
sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf
sudo docker-compose up
Once fully running, navigate to the host ip (ex: 192.168.0.100:5601)
Replace docker-compose.yml with this version of docker-compose.yml
Please visit the following documentation for additional details.
Randomize published ports
Use either --publish-all
or enable random ports for hosts, for example:
elasticsearch:
ports:
- '9200'
Enable the data path to be shared by multiple nodes
For example, if you want to scale out to 3 nodes, use the following value:
elasticsearch:
environment:
node.max_local_storage_nodes: '3'
Scale out your deployment to 3 nodes by running the following command:
sudo docker-compose up -d --scale pfelk=3
Finalize templates and dashboards here