diff --git a/docker-compose.yml b/docker-compose.yml index 394fcd2..d880a33 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ networks: services: grafana: - image: grafana/grafana:9.5.2 + image: grafana/grafana:9.5.5 container_name: grafana restart: unless-stopped volumes: @@ -28,7 +28,7 @@ services: - "traefik.http.routers.grafana.rule=Host(`grafana.${HOST_SUFFIX}`)" - "traefik.http.routers.grafana.entrypoints=web" prometheus: - image: prom/prometheus:v2.44.0 + image: prom/prometheus:v2.45.0 container_name: prometheus restart: unless-stopped volumes: @@ -39,6 +39,7 @@ services: command: - '--config.file=/etc/prometheus/prometheus.yml' - '--storage.tsdb.path=/prometheus' + - '--storage.tsdb.retention.time=1y' - '--web.console.libraries=/etc/prometheus/console_libraries' - '--web.console.templates=/etc/prometheus/consoles' - '--web.enable-lifecycle'