Limit the size of logs more severly #183

Merged
c6ristian merged 1 commit from logging-docker-compose into main 2026-11-02 18:28:51 +01:00
2 changed files with 5 additions and 7 deletions

View file

@ -18,8 +18,3 @@ services:
restart: unless-stopped
volumes:
- ./configs:/configs
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "3"

View file

@ -1,5 +1,8 @@
[Journal]
MaxFileSec=2day
MaxRetentionSec=2week
SystemMaxUse=1G
SystemMaxFileSize=10M
RuntimeMaxFileSize=10M
MaxFileSec=4h
MaxRetentionSec=8day
ForwardToSyslog=no