mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-02-05 05:24:05 +00:00
Change prometheus and grafana docker image tags to be "latest"
parent
d4a5dd0fae
commit
53ba4ddb47
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user