Eagles-DevOps / MiniTwit

2 stars 2 forks source link

Save logging to volume #197

Closed Slightsmiles closed 7 months ago

Slightsmiles commented 8 months ago

187

Currently our logs are destroyed when we destroy the container. We want them to persist for x amount of time

danielgron commented 8 months ago

@Slightsmiles @janlishak

As per Jan's comment on Discord I think this can just be closed?

"actually the whole reason I implemented the whole loki promtail stack was to have persistent logs. (edited) [11:57 PM] promtial reads the logs (I think every 5 seconds) and inserts them to loki which is basically a database (edited) [11:57 PM] loki is persistent - docker volume"