diff --git a/gatewayservice/monitoring/grafana/Dockerfile b/gatewayservice/monitoring/grafana/Dockerfile new file mode 100644 index 00000000..87d4c79a --- /dev/null +++ b/gatewayservice/monitoring/grafana/Dockerfile @@ -0,0 +1,10 @@ +FROM grafana/grafana + +# Copying the provisioning files +COPY ./provisioning /etc/grafana/provisioning + +# Exposing Grafana server port +EXPOSE 9091 + +# Running Grafana server +CMD [ "grafana-server" ] \ No newline at end of file diff --git a/gatewayservice/monitoring/prometheus/Dockerfile b/gatewayservice/monitoring/prometheus/Dockerfile new file mode 100644 index 00000000..d54cdcf9 --- /dev/null +++ b/gatewayservice/monitoring/prometheus/Dockerfile @@ -0,0 +1,10 @@ +FROM prom/prometheus + +# Copying the configuration file +COPY prometheus.yml /etc/prometheus/prometheus.yml + +# Exposing Prometheus server port +EXPOSE 9090 + +# Running Prometheus +ENTRYPOINT [ "prometheus", "--config.file=/etc/prometheus/prometheus.yml" ] \ No newline at end of file