Skip to content

Commit

Permalink
create dockerfiles and upload image for grafana and prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
pelazas committed Apr 28, 2024
1 parent f886022 commit 5a65406
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gatewayservice/monitoring/grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]
10 changes: 10 additions & 0 deletions gatewayservice/monitoring/prometheus/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 5a65406

Please sign in to comment.