Setup log rotation for docker.
This commit is contained in:
7
roles/docker/files/daemon.json
Normal file
7
roles/docker/files/daemon.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"log-driver": "json-file",
|
||||
"log-opts": {
|
||||
"max-size": "10m",
|
||||
"max-file": "10"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user