📦 NEW: DEV-871 Add Hetzner Plugin to Grafana monitor all Server Dynamic

This commit is contained in:
2025-01-30 13:01:50 +00:00
parent a4d9888bfe
commit ebf1ab5985
9 changed files with 378 additions and 141 deletions

6
Dockerfile.prometheus Normal file
View File

@@ -0,0 +1,6 @@
FROM docker.io/prom/prometheus:v2.51.2
# Set the proper permissions for certificates
RUN if [ -f ./https_portal/data/prometheus.phx-erp.de/production/signed.crt ]; then chmod 644 ./https_portal/data/prometheus.phx-erp.de/production/signed.crt; fi && \
if [ -f ./https_portal/data/prometheus.phx-erp.de/production/domain.key ]; then chmod 600 ./https_portal/data/prometheus.phx-erp.de/production/domain.key; fi
CMD ["prometheus", "--config.file=/etc/prometheus/prometheus.yaml", "--web.config.file=/etc/prometheus/web-config.yaml", "--web.external-url=https://prometheus.phx-erp.de"]