1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-08-06 22:23:10 +02:00

update prometheus

This commit is contained in:
kev
2023-10-24 15:36:19 +08:00
parent 76c4e1a89a
commit f413970880

View File

@ -3,7 +3,7 @@ version: "3.8"
services: services:
prometheus: prometheus:
image: prom/prometheus:v2.33.4 image: prom/prometheus:v2.47.2
command: command:
- "--config.file=/etc/prometheus/prometheus.yml" - "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/var/lib/prometheus" - "--storage.tsdb.path=/var/lib/prometheus"
@ -20,7 +20,7 @@ services:
restart: unless-stopped restart: unless-stopped
alertmanager: alertmanager:
image: prom/alertmanager:v0.23.0 image: prom/alertmanager:v0.26.0
command: command:
- "--config.file=/etc/alertmanager/alertmanager.yml" - "--config.file=/etc/alertmanager/alertmanager.yml"
- "--storage.path=/var/lib/alertmanager" - "--storage.path=/var/lib/alertmanager"
@ -33,7 +33,7 @@ services:
restart: unless-stopped restart: unless-stopped
graphite: graphite:
image: prom/graphite-exporter image: prom/graphite-exporter:v0.14.0
command: command:
- "--graphite.mapping-config=/etc/prometheus/graphite-mapping.yaml" - "--graphite.mapping-config=/etc/prometheus/graphite-mapping.yaml"
- "--graphite.mapping-strict-match" - "--graphite.mapping-strict-match"
@ -42,5 +42,5 @@ services:
- "9109:9109" - "9109:9109"
- "9109:9109/udp" - "9109:9109/udp"
volumes: volumes:
- ./data/etc:/etc/prometheus - ./data/prometheus/etc:/etc/prometheus
restart: unless-stopped restart: unless-stopped