Limit the size of logs more severly #183
2 changed files with 5 additions and 7 deletions
|
|
@ -18,8 +18,3 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./configs:/configs
|
- ./configs:/configs
|
||||||
logging:
|
|
||||||
driver: "json-file"
|
|
||||||
options:
|
|
||||||
max-size: "50m"
|
|
||||||
max-file: "3"
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
[Journal]
|
[Journal]
|
||||||
MaxFileSec=2day
|
SystemMaxUse=1G
|
||||||
MaxRetentionSec=2week
|
SystemMaxFileSize=10M
|
||||||
|
RuntimeMaxFileSize=10M
|
||||||
|
MaxFileSec=4h
|
||||||
|
MaxRetentionSec=8day
|
||||||
|
|
||||||
ForwardToSyslog=no
|
ForwardToSyslog=no
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue