mirror of https://github.com/infosecn1nja/HELK.git
Docker Files update
parent
e747ae924f
commit
fd7f19750e
|
@ -1,11 +1,11 @@
|
||||||
# Dockerfile for Elasticsearch
|
# Dockerfile for Elasticsearch
|
||||||
# Author: Roberto Rodriguez @Cyb3rWard0g
|
# Author: Roberto Rodriguez @Cyb3rWard0g
|
||||||
|
|
||||||
FROM debian:jessie
|
FROM openjdk:8-jre
|
||||||
RUN apt-get update && apt-get install -y openjdk-8-jre-headless wget
|
|
||||||
|
|
||||||
RUN wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - && \
|
RUN apt-get update && apt-get install wget && \
|
||||||
apt-get install apt-transport-https && \
|
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - && \
|
||||||
|
apt-get install -y apt-transport-https && \
|
||||||
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list && \
|
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list && \
|
||||||
apt-get install elasticsearch && \
|
apt-get install elasticsearch && \
|
||||||
mv /etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/backup_elasticsearch.yml
|
mv /etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/backup_elasticsearch.yml
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Author: Roberto Rodriguez @Cyb3rWard0g
|
# Author: Roberto Rodriguez @Cyb3rWard0g
|
||||||
|
|
||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
|
|
||||||
RUN apt-get update && apt-get install kibana && \
|
RUN apt-get update && apt-get install kibana && \
|
||||||
mv /etc/kibana/kibana.yml /etc/kibana/backup_kibana.yml
|
mv /etc/kibana/kibana.yml /etc/kibana/backup_kibana.yml
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
# Dockerfile for Logstash
|
# Dockerfile for Logstash
|
||||||
# Author: Roberto Rodriguez @Cyb3rWard0g
|
# Author: Roberto Rodriguez @Cyb3rWard0g
|
||||||
|
|
||||||
FROM debian:jessie
|
FROM openjdk:8-jre
|
||||||
|
|
||||||
RUN apt-get update && apt-get install logstash
|
RUN apt-get update && apt-get install logstash
|
||||||
|
|
||||||
ADD ../logstash/02-beats-input.conf /etc/logstash/conf.d/02-beats-input.conf && \
|
ADD ../logstash/02-beats-input.conf /etc/logstash/conf.d/02-beats-input.conf && \
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# Author: Roberto Rodriguez @Cyb3rWard0g
|
# Author: Roberto Rodriguez @Cyb3rWard0g
|
||||||
|
|
||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install nginx && \
|
RUN apt-get update && apt-get -y install nginx && \
|
||||||
echo "helkadmin:`openssl passwd -apr1 hunting`" | sudo tee -a /etc/nginx/htpasswd.users && \
|
echo "helkadmin:`openssl passwd -apr1 hunting`" | sudo tee -a /etc/nginx/htpasswd.users && \
|
||||||
mv /etc/nginx/sites-available/default /etc/nginx/sites-available/backup_default
|
mv /etc/nginx/sites-available/default /etc/nginx/sites-available/backup_default
|
||||||
|
|
Loading…
Reference in New Issue