From 947a1a259a88f19903f2dfa053ef05f1c34d37fd Mon Sep 17 00:00:00 2001 From: john Date: Mon, 1 Dec 2025 00:23:57 +0000 Subject: [PATCH] Update prometheus/docker-compose.yml --- prometheus/docker-compose.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/prometheus/docker-compose.yml b/prometheus/docker-compose.yml index 03b67ef..f4b483a 100644 --- a/prometheus/docker-compose.yml +++ b/prometheus/docker-compose.yml @@ -1,15 +1,12 @@ services: prometheus: image: prom/prometheus - container_name: 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 + - /mnt/cephfs/docker/prometheus:/etc/prometheus + - /mnt/cephfs/docker/prometheus/prom_data:/prometheus \ No newline at end of file