forked from pub-solar/infra
mastodon: clean media older than 7 days
Currently we keep everything for 30 days, which is about 180GB
This commit is contained in:
parent
9ec77e2a30
commit
41e4d3427c
|
@ -61,6 +61,9 @@
|
||||||
passwordFile = "/run/agenix/mastodon-smtp-password";
|
passwordFile = "/run/agenix/mastodon-smtp-password";
|
||||||
fromAddress = "mastodon-notifications@pub.solar";
|
fromAddress = "mastodon-notifications@pub.solar";
|
||||||
};
|
};
|
||||||
|
mediaAutoRemove = {
|
||||||
|
olderThanDays = 7;
|
||||||
|
};
|
||||||
extraEnvFiles = [
|
extraEnvFiles = [
|
||||||
"/run/agenix/mastodon-extra-env-secrets"
|
"/run/agenix/mastodon-extra-env-secrets"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue