📦 NEW: DEV-871 Add Hetzner Plugin to Grafana monitor all Server Dynamic
This commit is contained in:
6
Dockerfile.prometheus
Normal file
6
Dockerfile.prometheus
Normal 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"]
|
||||
Reference in New Issue
Block a user