revert prometheus/docker-compose.yml

This commit is contained in:
2025-11-22 11:52:30 +00:00
parent baf4ed51ca
commit b8ce15ecfa

View File

@@ -5,6 +5,10 @@ networks:
name: grafana
driver: bridge
external: true
caddy:
name: caddy
driver: bridge
external: true
services:
prometheus:
@@ -14,6 +18,7 @@ services:
networks:
- prometheus
- grafana
- caddy
command: "--config.file=/etc/prometheus/prometheus.yaml --storage.tsdb.retention.time=10d --storage.tsdb.retention.size=15GB"
volumes:
- ./data/config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro