mirror of https://github.com/infosecn1nja/HELK.git
Updated dockerfile
parent
24432e0cbc
commit
9f226b5841
|
@ -2,7 +2,7 @@
|
||||||
# HELK build version: 0.9 (BETA Script)
|
# HELK build version: 0.9 (BETA Script)
|
||||||
# Author: Roberto Rodriguez @Cyb3rWard0g
|
# Author: Roberto Rodriguez @Cyb3rWard0g
|
||||||
|
|
||||||
FROM java:8
|
FROM phusion/baseimage
|
||||||
MAINTAINER Roberto Rodriguez @cyb3rward0g
|
MAINTAINER Roberto Rodriguez @cyb3rward0g
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
@ -22,7 +22,9 @@ RUN apt-get update && \
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - \
|
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - \
|
||||||
&& apt-get install apt-transport-https
|
&& apt-get install apt-transport-https \
|
||||||
|
&& apt-get install -qqy openjdk-8-jdk \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
############ ELASTICSEARCH ################
|
############ ELASTICSEARCH ################
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# HELK Dockerfile Start Script (Elasticsearch, Logstash, Kibana & Nginx)
|
||||||
|
# HELK build version: 0.9 (BETA Script)
|
||||||
|
# Author: Roberto Rodriguez @Cyb3rWard0g
|
||||||
|
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl enable elasticsearch.service
|
||||||
|
systemctl start elasticsearch.service
|
||||||
|
|
||||||
|
sleep 15
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl enable kibana.service
|
||||||
|
systemctl start kibana.service
|
||||||
|
|
||||||
|
sleep 15
|
||||||
|
|
||||||
|
systemctl start logstash
|
||||||
|
systemctl restart logstash
|
||||||
|
systemctl enable logstash
|
||||||
|
|
||||||
|
sleep 15
|
||||||
|
|
||||||
|
systemctl restart nginx
|
Loading…
Reference in New Issue