From d6067cb4220a19d0224976761bce9af7d173cec5 Mon Sep 17 00:00:00 2001 From: Yuri Lima Date: Fri, 3 May 2024 15:51:29 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20Enable=20reload=20of?= =?UTF-8?q?=20configuration=20automatically=20without=20restart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 75a34a7..96fcba7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,6 +29,7 @@ services: - 9090:9090 command: "--config.file=/etc/prometheus/prometheus.yaml" volumes: + - '--web.enable-lifecycle' # Enable reload of configuration automatically without restart !!! - ./config/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro # RO Read-only - prometheus-data:/prometheus restart: unless-stopped