upgrade logging loki and alloy

This commit is contained in:
2026-07-17 13:53:39 +03:00
parent 1496e07d19
commit 43be2d8bb0
+6 -8
View File
@@ -2,10 +2,9 @@ version: '3.8'
services: services:
loki: loki:
# Pinned, not :latest — this host's kernel (5.16.7, Fedora 35 from 2022) resets # Keep a fixed release for reproducible Portainer redeploys. The 2.9.8 ->
# every TCP connection to containers built with newer Go toolchains # 3.7.2 upgrade was validated against a copy of this stack's TSDB v13 data.
# (confirmed: grafana/loki:latest, built with go1.26.4, fails; 2.9.8 works). image: grafana/loki:3.7.2
image: grafana/loki:2.9.8
container_name: loki container_name: loki
command: -config.file=/etc/loki/config.yaml command: -config.file=/etc/loki/config.yaml
restart: unless-stopped restart: unless-stopped
@@ -16,10 +15,9 @@ services:
- logging-nw - logging-nw
alloy: alloy:
# Pinned for the same reason as loki — see comment there. v1.5.0 # Keep a fixed release for reproducible Portainer redeploys. The current
# specifically (not v1.4.3) because it's the first release with # RFC3164 config and an end-to-end Alloy -> Loki probe passed on v1.16.1.
# syslog_format = "rfc3164" support, needed below. image: grafana/alloy:v1.16.1
image: grafana/alloy:v1.5.0
container_name: alloy container_name: alloy
command: command:
- run - run