tiennm99 01261b18b0 fix: drop docker logs older than 6d before sending to loki
grafana cloud loki rejects entries older than 7 days with HTTP 400.
loki.source.docker has no "tail since" option, so on first start it
replays logs from each container's start time — long-running
containers (coolify-proxy, traffmonetizer) produced weeks of backlog
that loki refused to ingest.

insert a loki.process drop stage (older_than=144h) between the docker
source and loki.write.gc so stale entries are filtered before egress.
journal source already bounded by max_age=12h — no filter needed there.
2026-04-24 14:20:50 +07:00
2025-04-07 12:44:18 +07:00
2025-03-24 21:18:44 +07:00
2025-03-07 00:42:01 +07:00
2025-03-25 21:58:42 +07:00
2023-12-23 08:15:16 +07:00
2024-05-03 16:38:43 +07:00
S
Description
Docker Compose files for the services I self-host — Gitea mirror, Couchbase, code-server, Grafana Alloy, coding-agent UIs and more — deployed through Coolify and Dokploy
Apache-2.0
624 KiB
0 Stars 1 Watchers 0 Forks
Languages
Shell 72.4%
Dockerfile 27.6%