Add the prometheus directives to the daemon configuration

This commit is contained in:
Andrea Dell'Amico 2020-09-16 17:03:37 +02:00
parent 5d69fd8af6
commit a5cf11698f
1 changed files with 6 additions and 0 deletions

View File

@ -9,8 +9,14 @@
"tlskey": "{{ docker_tls_key }}", "tlskey": "{{ docker_tls_key }}",
{% if docker_tls_verify_clients %} {% if docker_tls_verify_clients %}
"tlsverify": true, "tlsverify": true,
{% else %}
"tlsverify": false,
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if docker_prometheus_metrics %}
"metrics-addr" : "{{ docker_prometheus_host }}:9323",
"experimental" : true,
{% endif %}
{% if docker_daemon_debug %} {% if docker_daemon_debug %}
"debug": true "debug": true
{% else %} {% else %}