Update Prometheus Docker configuration and remove command overrides in stack.yaml

This commit is contained in:
2026-01-18 21:44:43 +01:00
parent 2541fae443
commit 83a467888f
3 changed files with 2 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ FROM prom/prometheus:latest
# Copy Prometheus configuration
COPY prometheus.yaml /etc/prometheus/prometheus.yaml
COPY prometheus-compose.yaml /etc/prometheus/prometheus-compose.yaml
# Switch to default user and expose port
EXPOSE 9090

View File

@@ -1,4 +1,5 @@
# Prometheus main configuration
# This configuration is adapted for Docker Compose environment
global:
scrape_interval: 30s