Rotation des logs locale

This commit is contained in:
Navas 2023-12-16 11:12:54 +01:00
parent aa8171220e
commit e760a5dbdc
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,13 @@
"data-root": "{{ docker_host_data_dir }}",
"default-address-pools": [
{ "base": "172.18.0.0/16", "size": 24 }
]{% if docker_host_user_namespaces is true %},
],
"log-driver": "local",
"log-opts": {
"max-size": "20m",
"max-file": "10",
"compress": "true"
}{% if docker_host_user_namespaces is true %},
"userns-remap": "default"
{% endif %}