move grafana and prometheus to shared (#265)

This commit is contained in:
Adil Hafeez 2024-11-12 15:23:30 -08:00 committed by GitHub
parent 5993e36f22
commit 31749bfc74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 36 additions and 681 deletions

View file

@ -0,0 +1,11 @@
FROM prom/prometheus:latest
# Set the command to run Prometheus with the specified configuration file
CMD ["--config.file=/etc/prometheus/prometheus.yaml"]
# Copy the Prometheus configuration files
COPY ./prometheus.yaml /etc/prometheus/prometheus.yaml
# Expose Prometheus port
EXPOSE 9090