From 8e04118d481c3abdc9b507d330e764de6949f44c Mon Sep 17 00:00:00 2001 From: john Date: Thu, 27 Nov 2025 16:37:32 +0000 Subject: [PATCH] Add prometheus/docker-compose.yml --- prometheus/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 prometheus/docker-compose.yml diff --git a/prometheus/docker-compose.yml b/prometheus/docker-compose.yml new file mode 100644 index 0000000..03b67ef --- /dev/null +++ b/prometheus/docker-compose.yml @@ -0,0 +1,15 @@ +services: + prometheus: + image: prom/prometheus + container_name: prometheus + command: + - '--config.file=/etc/prometheus/prometheus.yml' + ports: + - 9090:9090 + restart: unless-stopped + volumes: + - ./prometheus:/etc/prometheus + - prom_data:/prometheus + +volumes: + prom_data: \ No newline at end of file