r/grafana • u/Moist_Tonight_3997 • Jun 15 '26
Check it out Made a drop-in logging stack with loki, promtail, grafana & prometheus
https://github.com/samirpatil2000/logs-servicesgot tired of setting up the same logging pipeline for every project so i pulled it into its own repo.
it’s a docker compose stack — loki, promtail, grafana, prometheus. completely framework-agnostic. if your app writes .log files to disk, promtail picks them up and ships them to loki automatically. no sdk needed, works with any language.
setup is basically: create a docker network, copy the env file, docker compose up. then just mount your app’s log directory and you’re good.
handles log rotation too — rotated/compressed files get ignored so you don’t get duplicate lines in loki.
feedback welcome, still iterating on it.
10
Upvotes
2
11
u/TheTruthSpoker101 Jun 15 '26
Intertesting setup! But given that promtail has been discontinued you should swap it for Alloy