update compose

This commit is contained in:
2025-11-20 00:28:09 +00:00
parent e0d86e37cc
commit baf4ed51ca

View File

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