Last active
May 8, 2020 04:48
-
-
Save arindam89/1ea6f29645512013526fb8578e50b062 to your computer and use it in GitHub Desktop.
Dockerfile for Prometheus Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:bionic | |
MAINTAINER Arindam Paul, [email protected] | |
RUN apt-get update \ | |
&& apt-get install -y wget \ | |
&& apt-get install -y screen \ | |
&& apt-get install -y vim | |
WORKDIR /root | |
RUN wget -nv https://github.com/prometheus/prometheus/releases/download/v2.18.0/prometheus-2.18.0.linux-amd64.tar.gz | |
RUN wget -nv https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz | |
RUN wget -nv https://github.com/prometheus/alertmanager/releases/download/v0.20.0/alertmanager-0.20.0.linux-amd64.tar.gz | |
RUN wget -nv https://dl.grafana.com/oss/release/grafana-6.7.3.linux-amd64.tar.gz | |
# node_exporter | |
EXPOSE 9100 | |
# prometheus | |
EXPOSE 9090 | |
# grafana | |
EXPOSE 3000 | |
# alertmanager | |
EXPOSE 9093 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment