Fix compose file

This commit is contained in:
Aykhan Shahsuvarov 2025-04-11 01:08:37 +04:00
parent e9eddf15e3
commit 87a4c1fad9

View File

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