👌 IMPROVE: Enable reload of configuration automatically without restart
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user