26 lines
574 B
Django/Jinja
26 lines
574 B
Django/Jinja
{
|
|
{% if docker_log_to_journal %}
|
|
"log-driver": "journald",
|
|
{% endif %}
|
|
{% if docker_tls_api %}
|
|
"tls": true,
|
|
"tlscacert": "{{ docker_tls_ca }}",
|
|
"tlscert": "{{ docker_tls_cert }}",
|
|
"tlskey": "{{ docker_tls_key }}",
|
|
{% if docker_tls_verify_clients %}
|
|
"tlsverify": true,
|
|
{% else %}
|
|
"tlsverify": false,
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if docker_prometheus_metrics %}
|
|
"metrics-addr" : "{{ docker_prometheus_host }}:9323",
|
|
"experimental" : true,
|
|
{% endif %}
|
|
{% if docker_daemon_debug %}
|
|
"debug": true
|
|
{% else %}
|
|
"debug": false
|
|
{% endif %}
|
|
}
|