feat: add templates

This commit is contained in:
2025-11-17 15:06:09 +01:00
parent 66f09c49bd
commit 2279f8beba
2 changed files with 15 additions and 0 deletions

11
templates/daemon.json.j2 Normal file
View File

@@ -0,0 +1,11 @@
{
{% if docker_data_dir is defined and docker_data_dir | length > 0 %}
"data-root": "{{ docker_data_dir }}",
{% endif %}
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}