Public | Automated Build

Last pushed: a year ago
Dockerfile
### Docker Image FROM qnib/logstash:fd22 ENV RUN_SERVER=true \ BOOTSTRAP_CONSUL=true ADD etc/yum.repos.d/elasticsearch.repo /etc/yum.repos.d/ RUN dnf install -y which zeromq # elasticsearch RUN dnf install -y elasticsearch && \ sed -i '/# cluster.name:.*/a cluster.name: logstash' /etc/elasticsearch/elasticsearch.yml ## Makes no sense to be done while building #RUN sed -i "/# node.name:.*/a node.name: $(hostname)" /etc/elasticsearch/elasticsearch.yml ADD etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/ ADD etc/supervisord.d/elasticsearch.ini /etc/supervisord.d/elasticsearch.ini ## kopf RUN /usr/share/elasticsearch/bin/plugin --install lmenezes/elasticsearch-kopf/master ## nginx RUN dnf install -y nginx httpd-tools ADD etc/nginx/ /etc/nginx/ # Add QNIBInc repo # statsd #RUN echo "20140917.1"; dnf clean all; dnf install -y qnib-statsd qnib-grok-patterns RUN dnf clean all; dnf install -y statsd ADD etc/statsd/config.js /etc/statsd/ ## Kibana3 ENV KIBANA_VER 3.1.2 WORKDIR /var/www/ RUN curl -s -o /tmp/kibana-${KIBANA_VER}.tar.gz https://download.elasticsearch.org/kibana/kibana/kibana-${KIBANA_VER}.tar.gz && \ tar xf /tmp/kibana-${KIBANA_VER}.tar.gz && rm -f /tmp/kibana-${KIBANA_VER}.tar.gz && \ mv kibana-${KIBANA_VER} kibana ADD etc/nginx/conf.d/kibana.conf /etc/nginx/conf.d/kibana.conf WORKDIR /etc/nginx/ # Config kibana-Dashboards ADD var/www/kibana/app/dashboards/ /var/www/kibana/app/dashboards/ ADD var/www/kibana/config.js /var/www/kibana/config.js ## Kibana4 WORKDIR /opt/ ENV KIBANA_VER 4.0.2 RUN curl -s -L -o kibana-${KIBANA_VER}-linux-x64.tar.gz https://download.elasticsearch.org/kibana/kibana/kibana-${KIBANA_VER}-linux-x64.tar.gz && \ tar xf kibana-${KIBANA_VER}-linux-x64.tar.gz && \ rm /opt/kibana*.tar.gz RUN ln -sf /opt/kibana-${KIBANA_VER}-linux-x64 /opt/kibana ADD etc/supervisord.d/kibana.ini /etc/supervisord.d/ # Config kibana4 ADD opt/kibana/config/kibana.yml /opt/kibana/config/kibana.yml # logstash config ADD etc/default/logstash/00_entry.conf \ etc/default/logstash/30_syslog.conf \ etc/default/logstash/99_out.conf \ /etc/default/logstash/ ADD etc/grok/patterns/elasticsearch \ etc/grok/patterns/graphite \ etc/grok/patterns/grok-patterns \ etc/grok/patterns/qnibng \ etc/grok/patterns/slurm \ etc/grok/patterns/supervisor \ etc/grok/patterns/syslog-ng \ /etc/grok/patterns/ ADD etc/consul.d/ /etc/consul.d/ # # Should move to terminal ADD opt/qnib/bin/start_nginx.sh /opt/qnib/bin/ ADD etc/supervisord.d/elasticsearch.ini \ etc/supervisord.d/kibana.ini \ etc/supervisord.d/nginx.ini \ etc/supervisord.d/statsd.ini \ /etc/supervisord.d/
Source Repository