From 53ba4ddb470c2e125ec0f4384cff48debc5e05c4 Mon Sep 17 00:00:00 2001 From: Robert Drake Date: Wed, 24 Sep 2025 14:59:10 -0400 Subject: [PATCH] Change prometheus and grafana docker image tags to be "latest" --- Monitoring.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Monitoring.md b/Monitoring.md index 9c71361..ecb89e6 100644 --- a/Monitoring.md +++ b/Monitoring.md @@ -5,6 +5,11 @@ If you use the below config to set "METRICS_ENABLED" to 'true' inside of docker-compose.override.yml, you will need to edit env/netbox.env and comment out the METRICS_ENABLED line there. This is (I think) because the environment file is sourced after the docker-compose override. I think this line should probably be removed from env/netbox.env to reduce confusion, since it's the default. +### Docker image tags + +The prometheus and grafana docker images are set to use the "latest" version. You might want to pin these to specific versions in your own deployment. + + Add the following to your `docker-compose.override.yml` (or create that file if you haven't done so): ```yml @@ -50,7 +55,7 @@ services: # prometheus prometheus: - image: prom/prometheus:v2.22.0 + image: prom/prometheus:latest depends_on: - postgres-exporter - redis-cache-exporter @@ -64,7 +69,7 @@ services: # grafana grafana: - image: grafana/grafana:7.2.1 + image: grafana/grafana:latest depends_on: - prometheus environment: