Rotation des logs locale

This commit is contained in:
Navas 2023-12-16 11:12:54 +01:00
parent aa8171220e
commit e760a5dbdc

View file

@ -2,7 +2,13 @@
"data-root": "{{ docker_host_data_dir }}", "data-root": "{{ docker_host_data_dir }}",
"default-address-pools": [ "default-address-pools": [
{ "base": "172.18.0.0/16", "size": 24 } { "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" "userns-remap": "default"
{% endif %} {% endif %}