N
Novu5w ago
Kh. M-S.

Overlay2 folder growth fast

Hi! I use community docker compose file. I noticed that var/lib/docker/overlay2 folder in grows. I deleted log files. It is around 47 GB now. Is there any tips what to change in docker-compose file to prevent this fast growth?
8 Replies
Pawan Jain
Pawan Jain4w ago
One small suggestion is to use TTL in MongoDB collections messages, execution-details, logs, notifications, so that documents get cleared when expireAt date is reached
Kh. M-S.
Kh. M-S.OP4w ago
@Support I am not experienced user of Novu. I would be glad to get some explanation. I use self-hosted version of Novu. In GitHub I found this message. Now my self-hosted version save in-app notifications for 6 month by default. Also I can disable this feature by env variable. Is it correct?
Kh. M-S.
Kh. M-S.OP4w ago
No description
Kh. M-S.
Kh. M-S.OP4w ago
If my understanding is correct then is there any way to decrease this time? From 6-month to 1-week for example. And how I can do it?
Pawan Jain
Pawan Jain3w ago
Hey kh MS, this is a bit old thread, you can try that env variable, but I am not sure if that works
Kh. M-S.
Kh. M-S.OP3w ago
@Pawan Jain Thank you! So to follow your advice I must do something outside the docker compose file? Where and what? If there is some link to a documentation or something else it would be nice
Pawan Jain
Pawan Jain3w ago
@Kh. M-S. Unfortunately, we don't have documentation for this. you can try in docker compose file
Kh. M-S.
Kh. M-S.OP3w ago
@Pawan Jain I would do it if I know what to do. How I can write variables if I even do not know their names. I want to keep notifications inly for 3 weeks. Please give some example of variable I can use in docker. Or how to figure out it

Did you find this page helpful?