1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +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:
prometheus:
image: prom/prometheus:v2.33.4
image: prom/prometheus:v2.47.2
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/var/lib/prometheus"
@ -20,7 +20,7 @@ services:
restart: unless-stopped
alertmanager:
image: prom/alertmanager:v0.23.0
image: prom/alertmanager:v0.26.0
command:
- "--config.file=/etc/alertmanager/alertmanager.yml"
- "--storage.path=/var/lib/alertmanager"
@ -33,7 +33,7 @@ services:
restart: unless-stopped
graphite:
image: prom/graphite-exporter
image: prom/graphite-exporter:v0.14.0
command:
- "--graphite.mapping-config=/etc/prometheus/graphite-mapping.yaml"
- "--graphite.mapping-strict-match"
@ -42,5 +42,5 @@ services:
- "9109:9109"
- "9109:9109/udp"
volumes:
- ./data/etc:/etc/prometheus
- ./data/prometheus/etc:/etc/prometheus
restart: unless-stopped